From 4afbe0a1a9cee1c7bc1b90098500d1c8b202c747 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 26 Apr 2022 21:53:58 +0100 Subject: [PATCH] . --- generic/templates/generic/exam_cids.html | 36 +++++++++++++----------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/generic/templates/generic/exam_cids.html b/generic/templates/generic/exam_cids.html index 02a11129..4423d0f5 100644 --- a/generic/templates/generic/exam_cids.html +++ b/generic/templates/generic/exam_cids.html @@ -1,19 +1,23 @@ -

{{cid_user_count}} candidates.

- -
    +{% if cid_users %} +

    {{cid_user_count}} candidates.

    + +
      {% for cid in cid_users %} - -
    1. {{cid.cid}} [{{cid.passcode}}] {{cid.name}} / - Email: {{cid.email}} - {% if cid.supervisor_email %} / Supervisor email: {{cid.supervisor_email}}{% endif %}
      - Internal candidate: {{cid.internal_candidate}} - {% if cid.login_email_sent %} / Login email sent{% endif %} - {% if cid.results_email_sent %} / Results email sent{% endif %} -
    2. - - {% endfor %} -
    - - Edit Exam CIDs \ No newline at end of file +
  1. {{cid.cid}} [{{cid.passcode}}] {{cid.name}} / + Email: {{cid.email}} + {% if cid.supervisor_email %} / Supervisor email: {{cid.supervisor_email}}{% endif %}
    + Internal candidate: {{cid.internal_candidate}} + {% if cid.login_email_sent %} / Login email sent{% endif %} + {% if cid.results_email_sent %} / Results email sent{% endif %} +
  2. + + {% endfor %} +
+{% else %} + This exam has not candidates. Add some with the below link. +{% endif %} + + +Edit Exam CIDs