From c7377754b1b082177137583f9cf77e30f15d6600 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 5 Aug 2022 10:53:59 +0100 Subject: [PATCH] . --- anatomy/templates/anatomy/exam_scores_user.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/anatomy/templates/anatomy/exam_scores_user.html b/anatomy/templates/anatomy/exam_scores_user.html index 6da8a1b5..1dfb9382 100644 --- a/anatomy/templates/anatomy/exam_scores_user.html +++ b/anatomy/templates/anatomy/exam_scores_user.html @@ -14,7 +14,7 @@

Exam: {{ exam.name }}

-

Candidate: {{ cid }}

+

Candidate: {{ cid|default_if_none:request.user.username }}

Answers:
Total mark: {{ total_score }} / {{max_score}}
+ {% if cid %} Other exams + {% endif %}
{% endblock %}