mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
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:
@@ -1,6 +1,7 @@
|
|||||||
{% from "components/table.html" import list_table, field, right_aligned_field_heading, date_field, row_heading %}
|
{% from "components/table.html" import list_table, field, right_aligned_field_heading, date_field, row_heading %}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
class='dashboard-table'
|
||||||
{% if not finished %}
|
{% if not finished %}
|
||||||
data-module="update-content"
|
data-module="update-content"
|
||||||
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
|
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
|
||||||
@@ -9,6 +10,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
{% if notifications %}
|
||||||
|
<p class="bottom-gutter">
|
||||||
|
<a href="{{ request.url }}?&download=csv" download="download" class="heading-small">Download as a CSV file</a>
|
||||||
|
 
|
||||||
|
Delivery information is available for 7 days
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% call(item, row_number) list_table(
|
{% call(item, row_number) list_table(
|
||||||
notifications,
|
notifications,
|
||||||
caption=uploaded_file_name,
|
caption=uploaded_file_name,
|
||||||
|
|||||||
@@ -36,5 +36,4 @@
|
|||||||
|
|
||||||
{% include 'partials/jobs/notifications.html' %}
|
{% include 'partials/jobs/notifications.html' %}
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user