{% extends "helfertool/admin.html" %} {% load i18n bootstrap4 icons %} {% block admincontent %}
{% icon "plus" %} {% trans "New job" %} {% icon "sort" %} {% trans "Sort jobs" %}
{% endif %} {% for job in event.job_set.all %}{% icon "pencil-alt" %} {% trans "Edit" %} {% icon "copy" %} {% trans "Duplicate" %} {% icon "copy" %} {% trans "Duplicate one day" %} {% icon "trash-alt" %} {% trans "Delete" %} {% icon "plus" %} {% trans "New shift" %}
{% endif %} {% if job.shift_set.count == 0 %}{% trans "There are no shifts." %}
{% else %}{% trans "Begin" %} | {% trans "End" %} | {% trans "Name" %} | {% trans "Number of helpers" %} | {% if event.gifts %}{% trans "Gifts" %} | {% endif %} {% if not event.archived %}{% endif %} |
---|---|---|---|---|---|
{% if shift.hidden %} {% icon "eye-slash" %} {% elif shift.blocked %} {% icon "lock" %} {% endif %} {{ shift.begin }} | {{ shift.end }} | {{ shift.name }} | {{ shift.number }} | {% if event.gifts %}
{% for gift in shift.gifts.all %}
{{ gift.name }} {% endfor %} |
{% endif %}
{% if not event.archived %}
{% icon "pencil-alt" %}
{% trans "Edit" %}
{% icon "trash-alt" %} {% trans "Delete" %} |
{% endif %}