Add archived badge to exam list for better visibility of archived exams
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
<a href="{% url app_name|add:':exam_overview' pk=exam.pk %}">
|
||||
{% if exam.exam_mode %}Exam:{% else %}Packet:{% endif %} {{ exam }}
|
||||
</a>
|
||||
{% if exam.archive %}
|
||||
<span class="badge bg-warning text-dark ms-2" title="This exam is archived">Archived</span>
|
||||
{% endif %}
|
||||
<small class="ms-2 text-muted">
|
||||
<span class="badge bg-secondary">Questions: {{ exam.get_questions|length }}</span>
|
||||
<span class="badge bg-secondary ms-1">Candidates: {{ exam.get_candidate_count }}</span>
|
||||
|
||||
Reference in New Issue
Block a user