From 8d7d38e321e075b1927d6f60866f021151574e2c Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Fri, 5 Jul 2024 16:30:41 -0700 Subject: [PATCH] update timestamp to display notification time created_at --- app/main/views/jobs.py | 1 + app/templates/views/dashboard/dashboard.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main/views/jobs.py b/app/main/views/jobs.py index 42a4de090..fcdd91122 100644 --- a/app/main/views/jobs.py +++ b/app/main/views/jobs.py @@ -432,6 +432,7 @@ def get_job_partials(job): "partials/jobs/status.html", job=job, arrived_from_preview_page_url=arrived_from_preview_page_url, + notifications=notifications["notifications"] ), } diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html index dd0279629..a886f43a0 100644 --- a/app/templates/views/dashboard/dashboard.html +++ b/app/templates/views/dashboard/dashboard.html @@ -69,7 +69,7 @@ {{ notification.template.name }} - {{ job.created_at | format_datetime_table }} + {{ notification.created_at|format_datetime_table }} {{ notification.created_by.name }}