This commit is contained in:
Ross
2021-08-09 11:45:19 +00:00
parent ecc7790aa8
commit cf564d2083
2 changed files with 17 additions and 6 deletions
+12 -1
View File
@@ -4,35 +4,46 @@
<div class="">
<h2>CID: {{ cid }}</h2>
The following exams have been found (click to view answers and scores):
{% if physics_exams %}
<h3>Physics</h3>
<ul>
{% for exam in physics_exams %}
<li><a href="{% url 'physics:exam_scores_cid_user' pk=exam.pk sk=cid %}">{{exam.name}}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if anatomy_exams %}
<h3>Anatomy</h3>
<ul>
{% for exam in anatomy_exams %}
<li><a href="{% url 'anatomy:exam_scores_cid_user' pk=exam.pk sk=cid %}">{{exam.name}}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if rapids_exams %}
<h3>Rapids</h3>
<ul>
{% for exam in rapids_exams %}
<li><a href="{% url 'rapids:exam_scores_cid_user' pk=exam.pk sk=cid %}">{{exam.name}}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if longs_exams %}
<h3>Longs</h3>
<ul>
{% for exam in longs_exams %}
<li><a href="{% url 'longs:exam_scores_cid_user' pk=exam.pk sk=cid %}">{{exam.name}}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if sbas_exams %}
<h3>SBAs</h3>
<ul>
{% for exam in sbas_exams %}
<li><a href="{% url 'sbas:exam_scores_cid_user' pk=exam.pk sk=cid %}">{{exam.name}}</a></li>
{% endfor %}
</ul>
</
{% endif %}
l>
</div>
{% endblock %}