From b98b53f53ff7deaf34c133d855f0999eb356a66d Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 31 Aug 2021 20:25:01 +0100 Subject: [PATCH] . --- longs/templates/longs/exam_overview.html | 2 ++ longs/templates/longs/mark_answer.html | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/longs/templates/longs/exam_overview.html b/longs/templates/longs/exam_overview.html index 892a1aff..36d5684a 100644 --- a/longs/templates/longs/exam_overview.html +++ b/longs/templates/longs/exam_overview.html @@ -6,7 +6,9 @@
Edit Delete + {% if request.user.is_superuser %} Admin Edit + {% endif %}

Exam: {{ exam.name }}

This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds.
Exam mode: {{ exam.exam_mode }} diff --git a/longs/templates/longs/mark_answer.html b/longs/templates/longs/mark_answer.html index aa0bf7dc..f4b489ad 100644 --- a/longs/templates/longs/mark_answer.html +++ b/longs/templates/longs/mark_answer.html @@ -2,11 +2,13 @@ {% block content %} View -Edit Admin +Edit +{% if request.user.is_superuser %} +Admin Edit Admin Edit (user answer) +{% endif %}

Marking question {{question_details.current}} of {{question_details.total}}