From 36eefe97847d29a0b2cbe46aadfaa95fc01ab842 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 2 Apr 2022 23:17:27 +0100 Subject: [PATCH] . --- .../atlas/collection_candidates.html | 21 +----------------- generic/templates/generic/exam_cids.html | 20 +++++++++++++++++ templates/exam_cids.html | 22 +------------------ 3 files changed, 22 insertions(+), 41 deletions(-) create mode 100644 generic/templates/generic/exam_cids.html diff --git a/atlas/templates/atlas/collection_candidates.html b/atlas/templates/atlas/collection_candidates.html index db2204f5..9b00fbdf 100644 --- a/atlas/templates/atlas/collection_candidates.html +++ b/atlas/templates/atlas/collection_candidates.html @@ -3,25 +3,6 @@ {% block content %} {% include 'atlas/collection_headers.html' %} -

{{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 %} -
- - - - Manage CIDs here +{% include "generic/exam_cids.html" %} {% endblock %} \ No newline at end of file diff --git a/generic/templates/generic/exam_cids.html b/generic/templates/generic/exam_cids.html new file mode 100644 index 00000000..81b5fd56 --- /dev/null +++ b/generic/templates/generic/exam_cids.html @@ -0,0 +1,20 @@ + +

{{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 %} +
+ + + + Manage CIDs here \ No newline at end of file diff --git a/templates/exam_cids.html b/templates/exam_cids.html index ae82fd14..1e643cf5 100644 --- a/templates/exam_cids.html +++ b/templates/exam_cids.html @@ -6,27 +6,7 @@

Exam: {{ exam.name }}

-

{{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 %} -
- - - - Manage CIDs here - +{% include "generic/exam_cids.html" %}
{% endblock %}