Make the job page look close to the activity page

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
This commit is contained in:
Chris Hill-Scott
2016-06-13 14:13:23 +01:00
parent a0f6956eab
commit 5f0dc749f5
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
{% from "components/table.html" import list_table, field, right_aligned_field_heading, date_field, row_heading %}
<div
class='dashboard-table'
{% if not finished %}
data-module="update-content"
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
@@ -9,6 +10,14 @@
{% endif %}
>
{% if notifications %}
<p class="bottom-gutter">
<a href="{{ request.url }}?&amp;download=csv" download="download" class="heading-small">Download as a CSV file</a>
&emsp;
Delivery information is available for 7 days
</p>
{% endif %}
{% call(item, row_number) list_table(
notifications,
caption=uploaded_file_name,

View File

@@ -36,5 +36,4 @@
{% include 'partials/jobs/notifications.html' %}
{% endblock %}