diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index 0bbdd2b46..2dd4ecdc8 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -28,7 +28,7 @@ align='right', status='error' if item.status == 'Failed' else 'default' ) %} - {{ item.status|format_notification_status }} at {{ item.updated_at|format_time }} + {{ item.status|format_notification_status }} at {{ (item.updated_at or item.created_at)|format_time }} {% endcall %} {% endcall %} {% else %} diff --git a/app/templates/views/notifications.html b/app/templates/views/notifications.html index 6b7d30d29..e811692f2 100644 --- a/app/templates/views/notifications.html +++ b/app/templates/views/notifications.html @@ -94,7 +94,7 @@ {{ text_field(item.status|format_notification_status) }} {% call field(align='right') %} - {{ item.updated_at|format_datetime_short }} + {{ (item.updated_at or item.created_at)|format_datetime_short }} {% endcall %} {% endcall %}