.
This commit is contained in:
@@ -13,15 +13,17 @@
|
||||
|
||||
|
||||
{% if exam.exam_mode %}
|
||||
{% if not exam.cid_user_groups.count and not exam.user_user_groups.count %}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
This exam does not have any user / cid groups added.
|
||||
</div>
|
||||
{% if exam.exam_open_access %}
|
||||
{% else %}
|
||||
{% if not candidate_count.0 and not candidate_count.1 %}
|
||||
{% if not exam.cid_user_groups.count and not exam.user_user_groups.count %}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
This exam does not have any candidates.
|
||||
This exam does not have any user / cid groups added.
|
||||
</div>
|
||||
{% if not candidate_count.0 and not candidate_count.1 %}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
This exam does not have any candidates.
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
@@ -34,7 +36,12 @@ This exam has {{question_number}} questions.
|
||||
Exam mode: {{ exam.exam_mode }}<br />
|
||||
|
||||
{% if exam.exam_mode %}
|
||||
Cid candidates: <a href="{{exam.get_cid_edit_url}}">{{candidate_count.0}}</a>, User candidates: <a href="{{exam.get_user_edit_url}}">{{candidate_count.1}}</a><br />
|
||||
{% if exam.exam_open_access %}
|
||||
This exam is available to all registered users.<br />
|
||||
{% else %}
|
||||
Cid candidates: <a href="{{exam.get_cid_edit_url}}">{{candidate_count.0}}</a>, User candidates: <a href="{{exam.get_user_edit_url}}">{{candidate_count.1}}</a><br />
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
Markers:
|
||||
|
||||
Reference in New Issue
Block a user