From 883df1bdcdbb86053ed4b3e0efbad92d899779c5 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Thu, 11 Jul 2024 12:55:35 -0700 Subject: [PATCH] added conditionals to datetime in status banner --- app/templates/views/dashboard/dashboard.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html index 6ad364b22..aba7d2ac6 100644 --- a/app/templates/views/dashboard/dashboard.html +++ b/app/templates/views/dashboard/dashboard.html @@ -69,7 +69,8 @@ {{ notification.template.name }} - {{ (job.processing_finished or job.processing_started)|format_datetime_table }} + {{ (job.processing_finished if job.processing_finished else job.processing_started + if job.processing_started else job.created_at)|format_datetime_table }} {{ notification.created_by.name }}