Start using start dates for exams

This commit is contained in:
Ross
2024-07-08 09:52:01 +01:00
parent 00fa68247d
commit df462efacd
49 changed files with 235 additions and 293 deletions
+7 -7
View File
@@ -1,18 +1,18 @@
{% if view_all_results %}
<div class="alert alert-info" role="alert">
Exam state:
Exam state:
{% if exam.active %}
This exam is available to take.
{% else %}
{% else %}
This exam is NOT available to take.
{% endif %}
{% if exam.publish_results %}
Results are published.
{% else %}
{% else %}
Results are NOT published.
{% endif %}
@@ -24,6 +24,6 @@
<div class="alert alert-info" role="alert">Results are not currently published. You can see your own answers below.</a></div>
{% endif %}
{% endif %}
<h2>Exam: {{ exam.name }}</h2>
<h2>Exam: {{ exam }}</h2>
<h3>Candidate: {{ cid|default_if_none:request.user.username }}</h3>
Answers: