diff --git a/sbas/templates/sbas/exam_scores_user.html b/sbas/templates/sbas/exam_scores_user.html index c4ba942a..d91ab6b3 100644 --- a/sbas/templates/sbas/exam_scores_user.html +++ b/sbas/templates/sbas/exam_scores_user.html @@ -1,21 +1,28 @@ {% extends 'sbas/base.html' %} {% block content %} -
-

Exam: {{ exam.name }}

-

Candidate: {{ cid }}

- Answers: - -
Total mark: {{ total_score }} / {{max_score}} -
- Other exams +
+

Exam: {{ exam.name }}

+

Candidate: {{ cid }}

+ {% if not exam.publish_results %} + + {% endif %} + Answers: +
    + {% for question, a, score, correct_answer, chosen_answer in answers_and_marks %} +
  • Question + {{forloop.counter}} - {{ question.stem |safe}}
  • + Correct answer: {{correct_answer|safe}}
    Chosen answer: {{a}} {{chosen_answer|safe}} + {% if exam.publish_results or view_all_results %} + (Score: {{score}}) + {% endif %} + +
    + {% endfor %} +
+
Total mark: {{ total_score }} / {{max_score}} +
+ Other exams +
-
{% endblock %} \ No newline at end of file