Group: {{ groep['name'] }} [{{ students|length }}]
{% for status in [2, 1, 0] %}
{% for key, item in allviews.items() %}
{% if item._try('status', default=0) == status %}
{{ item._try('name') }}
{% endif %}
{% endfor %}
{% endfor %}
all
{% set smalfields = ['id', 's_gender', 'todo', 'pf_url', 'grade', 's_ec', 's_lang', 'assessment'] %}
{% set fixedfields = ['id', 'assessment', 'firstname', 'lastname'] %}
{% for f in fixedfields %} | {{ view['nicenames'][f] }} | {% endfor %} {% for f in view['fields'] %} {% if f in ['id', 'notes', 'circulars', 'customs', 'todo', 'kom_code', 'nhls_code'] or f in fixedfields %} {% elif f.startswith('c_') %}{{ f.replace('c_', '') }} | {% elif f.startswith('t_') %}{{ f.replace('t_', '') }} | {% else %}{{ view['nicenames'][f] }} | {% endif %} {% endfor %} {% for emb in view['emailbuttons'] %}{{ emb }} | {% endfor %}|||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{% for f in fixedfields %} {% if f == 'id' %} | {{ id|vier }} | {% elif f == 'assessment' %}{% else %} | {{ s._try(f) }} | {% endif %} {% endfor %} {% for f in view['fields'] %} {% if f in ['id', 'notes', 'circulars', 'customs', 'todo', 'kom_code', 'nhls_code'] or f in fixedfields %} {% elif f == 'samestudent' %} {% set same = s._try('samestudent', default=[]) %}{% for ss in same %} {{ ss }} {% endfor %} | {% elif f == 'pf_url' %}{% if s._try('pf_url') != '' %}→{% else %} {% endif %} | {% elif f == 'grade' %}{% elif f in ['grade_ts', 'created_ts'] %} | {{ s._try(f)|date }} | {% elif f.startswith('c_') %}{% elif f.startswith('t_') %} | {% elif f.startswith('s_') %} {% set item = s._s_item(f) %} | {{ item['name']|nbsp|safe }} | {% else %}{{ s._try(f) }} | {% endif %} {% endfor %} {% for emb in view['emailbuttons'] %}{{ emb }} | {% endfor %}
Make a new note for this group
{% if 'notes' in groep %} {% if groep['notes']|length > 0 %}Notes for this group
{% for note in groep['notes'] %}{{ note['note']|safe }}
{{ note['alias'] }}
{{ note['created_ts']|datetime }}