From f1934f6131a3c19b824184a27053860134bfaade Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Mon, 6 Dec 2021 22:11:16 +0000 Subject: [PATCH] Bugfix: lack of submission time in detailed result --- ref-test/admin/templates/admin/result-detail.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ref-test/admin/templates/admin/result-detail.html b/ref-test/admin/templates/admin/result-detail.html index 72b21eb..6d4f69b 100644 --- a/ref-test/admin/templates/admin/result-detail.html +++ b/ref-test/admin/templates/admin/result-detail.html @@ -57,7 +57,11 @@ Late {% endif %} - {{ entry.submission_time.strftime('%d %b %Y %H:%M:%S') }} + {% if submission_time in entry %} + {{ entry.submission_time.strftime('%d %b %Y %H:%M:%S') }} + {% else %} + Incomplete + {% endif %}