From 5f0dc749f50436e4bbcdac5c6383400efe5eb27c Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 13 Jun 2016 14:13:23 +0100 Subject: [PATCH] Make the job page look close to the activity page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We can’t filter a job by notification status yet, but we can: - put the download link in the same place - make the table line up the same --- app/templates/partials/jobs/notifications.html | 9 +++++++++ app/templates/views/jobs/job.html | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index cb87d6280..c8dfb9a56 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -1,6 +1,7 @@ {% from "components/table.html" import list_table, field, right_aligned_field_heading, date_field, row_heading %}
+ {% if notifications %} +

+ Download as a CSV file +   + Delivery information is available for 7 days +

+ {% endif %} + {% call(item, row_number) list_table( notifications, caption=uploaded_file_name, diff --git a/app/templates/views/jobs/job.html b/app/templates/views/jobs/job.html index b65b8dda0..befbd0aa4 100644 --- a/app/templates/views/jobs/job.html +++ b/app/templates/views/jobs/job.html @@ -36,5 +36,4 @@ {% include 'partials/jobs/notifications.html' %} - {% endblock %}