fix longs tests

This commit is contained in:
Ross
2023-06-05 16:44:35 +01:00
parent e0723d4d3a
commit afdc8e95c7
6 changed files with 278 additions and 152 deletions
+14 -1
View File
@@ -1,7 +1,20 @@
{% if view_all_results %}
<div class="alert alert-info" role="alert">
Exam state: Active [{{exam.active}}] / Published [{{exam.publish_results}}]
Exam state:
{% if exam.active %}
This exam is available to take.
{% else %}
This exam is NOT available to take.
{% endif %}
{% if exam.publish_results %}
Results are published.
{% else %}
Results are NOT published.
{% endif %}
</div>
{% else %}
{% if not exam.publish_results %}