This commit is contained in:
Ross
2021-12-12 21:55:39 +00:00
parent bde29b0bb2
commit f9f51d104a
+3 -2
View File
@@ -3,12 +3,13 @@
{% block content %} {% block content %}
<div class=""> <div class="">
<h2>CID: {{ cid }}</h2> <h2>CID: {{ cid }}</h2>
<h3>Available exams</h3> <h3>Assigned exams</h3>
<p>The following exams will be available to take when active.
{% for t, exams in available_exams %} {% for t, exams in available_exams %}
<h4>{{t}}</h4> <h4>{{t}}</h4>
<ul> <ul>
{% for e in exams %} {% for e in exams %}
<li><a href="{{e.get_take_url}}">{{e.name}} {% if e.active %}[Active]{% endif %}</a></li> <li><a href="{{e.get_take_url}}" target="_blank">{{e.name}} {% if e.active %}[Active]{% endif %}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endfor %} {% endfor %}