This commit is contained in:
Ross
2022-04-26 21:53:58 +01:00
parent b82f2d6b89
commit 4afbe0a1a9
+8 -4
View File
@@ -1,7 +1,8 @@
<p>{{cid_user_count}} candidates.</p> {% if cid_users %}
<p>{{cid_user_count}} candidates.</p>
<ol> <ol>
{% for cid in cid_users %} {% for cid in cid_users %}
<li><a href="{% url 'generic:update_cid' cid.pk %}">{{cid.cid}}</a> [{{cid.passcode}}] {{cid.name}} / <li><a href="{% url 'generic:update_cid' cid.pk %}">{{cid.cid}}</a> [{{cid.passcode}}] {{cid.name}} /
@@ -13,7 +14,10 @@
</li> </li>
{% endfor %} {% endfor %}
</ol> </ol>
{% else %}
This exam has not candidates. Add some with the below link.
{% endif %}
<a href="{% url exam.app_name|add:':exam_cids_edit' exam.pk %}">Edit Exam CIDs</a> <a href="{% url exam.app_name|add:':exam_cids_edit' exam.pk %}">Edit Exam CIDs</a>