From 3d1d2ea481d03dad902d962dec644ed8591a1a8f Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 17 Oct 2021 09:55:51 +0100 Subject: [PATCH] . --- anatomy/templates/anatomy/exam_overview.html | 10 +++++++--- generic/views.py | 7 +++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/anatomy/templates/anatomy/exam_overview.html b/anatomy/templates/anatomy/exam_overview.html index 54939f88..de7ba108 100644 --- a/anatomy/templates/anatomy/exam_overview.html +++ b/anatomy/templates/anatomy/exam_overview.html @@ -54,15 +54,19 @@ {{ author }}, {% endfor %} -

+ {% if can_edit %} +

+ {% endif %}
JSON creation time: {{exam.json_creation_time}} ({{exam.json_creation_time|date:"c"}}), JSON creation id: {{exam.exam_json_id}}
JSON Refresh JSON cache - - + {% if request.user.is_superuser %} + + + {% endif %}