From 4ff56b83a3a7f22d9a696e79a53c92a0ab0af42a Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Mon, 6 Dec 2021 22:20:27 +0000 Subject: [PATCH] I am really bad at fixing bugs --- ref-test/admin/templates/admin/result-detail.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ref-test/admin/templates/admin/result-detail.html b/ref-test/admin/templates/admin/result-detail.html index 5d7827c..267bce2 100644 --- a/ref-test/admin/templates/admin/result-detail.html +++ b/ref-test/admin/templates/admin/result-detail.html @@ -57,13 +57,13 @@ Late {% endif %} - {% if submission_time in entry %} + {% if 'submission_time' in entry %} {{ entry.submission_time.strftime('%d %b %Y %H:%M:%S') }} {% else %} Incomplete {% endif %} - {% if results in entry %} + {% if 'results' in entry %}
  • Score
    @@ -80,7 +80,7 @@ No results to display. {% endif %} - {% if not results in entry %} + {% if not 'results' in entry %}