improve user score view

This commit is contained in:
Ross
2023-11-27 09:11:48 +00:00
parent d414d3baa2
commit 95c136d3f3
5 changed files with 23 additions and 10 deletions
@@ -2,7 +2,7 @@
<h3>CID Users</h3>
{% if groups %}
Users from the following groups are available: {% for group in groups %}{{group}}, {% endfor %} .
Users from the following groups are available: {% for group in groups %}<a href='{{group.get_absolute_url}}'>{{group}}</a>, {% endfor %} .
{% else %}
This exam is not associated with any user groups. <a href="{% url exam.app_name|add:':exam_update' exam.pk %}">Edit and add a group</a> to enable user management.
{% endif %}
@@ -35,7 +35,7 @@
{% endif %}
This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds.
This exam has {{question_number}} questions. <span title="Time per question: {% widthratio exam.time_limit question_number 1 %} seconds">Time limit: {{exam.time_limit}} seconds</span>.
Exam mode: {{ exam.exam_mode }}<br />
{% if exam.exam_mode %}