update time from created_at to processing_fisnnished

This commit is contained in:
Beverly Nguyen
2024-07-10 14:47:29 -07:00
parent a63bd4355c
commit 5042ba8d50
3 changed files with 3 additions and 3 deletions

View File

@@ -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"], []),

View File

@@ -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"]
), ),
} }

View File

@@ -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 }}