{% extends 'generic/cid_group_base.html' %} {% block content %}

Group: {{group.name}}

Help

This page shows an overview of the candidates and exams that are associated with the group.

Once a candidate has been added to a group and the group has been added to an exam individual candidates can be allocated to the exam. Please note: simply adding the group to the exam will not automatically give the group candidates access to that exam, they will have to be added individually/as a group.

Users

Count: {{users|length}}

{% if users %} {% if group_type == "cid" %} {% else %} {% endif %} {% for user in users %} {% if group_type == "cid" %} {% else %} {% endif %} {% endfor %}
NameEmailCIDPasscode
User
{{user.name}}{{user.email}}{{user.cid}}{{user.passcode}}
{{user.username}}
{% else %} This group has no users. {% if group_type == "cid" %} They can be created (or added) here {% endif %} {% endif %}
Add users by email
{% csrf_token %}

Exams

The group is currently associated with the following exams. This allows the users within the group to be easily added to the exam. It will not automatically give members of the group access to the exam. {% if group_type == "cid" %} Add more here. {% else %} Add more here. {% endif %}

It is possible to quickly add or remove all group candidates from an exam by clicking the buttons below. This will only affect the {{users|length}} candidates in this group. You will need to refresh the page to see updated candidate counts.

{% with group.GetGroupExams as exam_map %} {% for key, value in exam_map.items %}

{{key}}

{% for exam in value %}
{{exam}} {% if group_type == "cid" %} Edit candidates
{% else %} Edit candidates
{% endif %}
{% if group_type == "cid" %} (Cid candidate count: {{exam.valid_cid_users.count}}) {% else %} (User candidate count: {{exam.valid_user_users.count}}) {% endif %}
{% endfor %}
{% endfor %} {% endwith %} {% endblock %} {% block js %} {% endblock %}