mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
This commit depends on and uses the data returned by: - [x] https://github.com/alphagov/notifications-api/pull/345 - [x] https://github.com/alphagov/notifications-api/pull/347 - [x] https://github.com/alphagov/notifications-admin/pull/612 It puts the last 5 jobs on the dashboard. This should be changed to all the jobs from the last 7 days when that parameter is available. It also: - links to the jobs page - makes the numbers on the jobs page consistent with the dashboard - makes the numbers on an individual job consistent with the appearance of the dashboard
13 lines
352 B
HTML
13 lines
352 B
HTML
<div
|
|
{% if not finished %}
|
|
data-module="update-content"
|
|
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
|
|
data-key="status"
|
|
aria-live="polite"
|
|
{% endif %}
|
|
>
|
|
<p class='heading-small'>
|
|
Uploaded by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }}
|
|
</p>
|
|
</div>
|