mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
update time from created_at to processing_fisnnished
This commit is contained in:
@@ -105,6 +105,7 @@ def service_dashboard(service_id):
|
|||||||
".view_job", service_id=current_service.id, job_id=job["id"]
|
".view_job", service_id=current_service.id, job_id=job["id"]
|
||||||
),
|
),
|
||||||
"created_at": job["created_at"],
|
"created_at": job["created_at"],
|
||||||
|
"processing_finished": job["processing_finished"],
|
||||||
"notification_count": job["notification_count"],
|
"notification_count": job["notification_count"],
|
||||||
"created_by": job["created_by"],
|
"created_by": job["created_by"],
|
||||||
"notifications": aggregate_notifications_by_job.get(job["id"], []),
|
"notifications": aggregate_notifications_by_job.get(job["id"], []),
|
||||||
|
|||||||
@@ -432,7 +432,6 @@ def get_job_partials(job):
|
|||||||
"partials/jobs/status.html",
|
"partials/jobs/status.html",
|
||||||
job=job,
|
job=job,
|
||||||
arrived_from_preview_page_url=arrived_from_preview_page_url,
|
arrived_from_preview_page_url=arrived_from_preview_page_url,
|
||||||
notifications=notifications["notifications"]
|
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
<span>Template</span>
|
<span>Template</span>
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" class="table-field-heading">
|
<th scope="col" class="table-field-heading">
|
||||||
<span>Time sent</span>
|
<span>Job status</span>
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" class="table-field-heading">
|
<th scope="col" class="table-field-heading">
|
||||||
<span>Sender</span>
|
<span>Sender</span>
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
{{ notification.template.name }}
|
{{ notification.template.name }}
|
||||||
</td>
|
</td>
|
||||||
<td class="table-field time-sent">
|
<td class="table-field time-sent">
|
||||||
{{ notification.created_at|format_datetime_table }}
|
{{ job.processing_finished|format_datetime_table }}
|
||||||
</td>
|
</td>
|
||||||
<td class="table-field sender">
|
<td class="table-field sender">
|
||||||
{{ notification.created_by.name }}
|
{{ notification.created_by.name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user