From eca8e117b6b67f6557659f9e0f7462a5d004c957 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 11 Dec 2021 22:05:14 +0000 Subject: [PATCH] . --- physics/templates/physics/exam_finish.html | 34 +++++++++++++--------- sbas/templates/sbas/exam_take.html | 2 +- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/physics/templates/physics/exam_finish.html b/physics/templates/physics/exam_finish.html index 0649a9ca..435d7ef0 100644 --- a/physics/templates/physics/exam_finish.html +++ b/physics/templates/physics/exam_finish.html @@ -1,23 +1,29 @@ {% extends 'base.html' %} {% block content %} -CID: {{cid}} + CID: {{cid}} -

Exam: {{exam.name}}

+

Exam: {{exam.name}}

-

Questions

-{{answer_count}} out of {{exam_length}} questions answered. Click to go to question. -
-{% for question, answer in question_answer_tuples %} - -{% endfor %} -
+ {% if exam.publish_results %} + + {% endif %} + +

Questions

+ {{answer_count}} out of {{exam_length}} questions answered. Click to go to question. +
+ {% for question, answer in question_answer_tuples %} + + {% endfor %} +
{% endblock %} {% block js %} - -{% endblock %} \ No newline at end of file + +{% endblock %} diff --git a/sbas/templates/sbas/exam_take.html b/sbas/templates/sbas/exam_take.html index b223624d..e2791abc 100755 --- a/sbas/templates/sbas/exam_take.html +++ b/sbas/templates/sbas/exam_take.html @@ -3,7 +3,7 @@ {% block content %} CID: {{cid}}
-

Question [{{pos|add:1}}/{{exam_length}}]

+

{{exam.name}}: Question [{{pos|add:1}}/{{exam_length}}]

{% if exam.publish_results %}