This commit is contained in:
Ross
2021-12-17 16:44:35 +00:00
parent 66659f0b90
commit 838c4dfe0e
+1 -1
View File
@@ -21,7 +21,7 @@
<h4>{{exam_type}}</h4> <h4>{{exam_type}}</h4>
<ul> <ul>
{% for exam in exams %} {% for exam in exams %}
<li><a href="{% url '{{exam_type}}:exam_scores_cid_user' pk=exam.pk sk=cid passcode=passcode %}">{{exam.name}}</a> {% if exam.active %}[Active]{% endif %} {% if exam.publish_results %}[Results Published]{% endif %}</li> <li><a href="{% url exam_type|add:':exam_scores_cid_user' pk=exam.pk sk=cid passcode=passcode %}">{{exam.name}}</a> {% if exam.active %}[Active]{% endif %} {% if exam.publish_results %}[Results Published]{% endif %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}