group | {% 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 %}||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ group._try('name') }} | {% 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 %}