{% extends "helfertool/admin.html" %} {% load i18n bootstrap4 icons staticfiles %} {% block admincontent %}
{% icon "file-download" %}
{% trans "Export" %}:
{% for day, shifts in shifts_by_day %} {{ day }} {% endfor %}
{% endif %} {# coordinators #}{% trans "There are no coordinators for this job." %}
{% else %} {% include "registration/admin/helpers_table.html" with event=event job=job helpers=job.coordinators.all %} {% endif %}{% icon "plus" %} {% trans "Add coordinator" %}
{# iterate over days #} {% for day, shifts in shifts_by_day %}
{% with day_str=day|date:"Y-m-d" %}
{% icon "file-download" %}
{% blocktrans with day=day %}Export for {{ day }}{% endblocktrans %}:
{% endwith %}
{% icon "check-square" %} {% trans "Set attendance for complete shift" %}
{% endif %} {% if shift.helper_set.count == 0 %}{% trans "Nobody is registered for this shift." %}
{% else %} {% include "registration/admin/helpers_table.html" with event=event job=job shift=shift helpers=shift.helper_set.all %} {% endif %} {% if not shift.is_full %} {% endif %} {% endfor %} {% endfor %} {% endblock %}