{% extends "helfertool/admin.html" %} {% load i18n bootstrap4 icons %} {% block admincontent %}

{{ helper.full_name }}

{% trans "Personal data" %}

{% icon "edit" %} {% trans "Edit" %}   {% icon "envelope" %} {% trans "Resend confirmation mail" %} {% include "registration/helper_data.html" with helper=helper badge_barcode=helper.badge.barcode %} {% if helper.has_to_validate %}

{% icon "times" %} {% trans "Helper did not validate the mail address." %}

{% endif %} {# coordinated jobs #} {% if helper.is_coordinator %}

{% trans "Coordinator" %}

{% for job in helper.coordinated_jobs %} {% endfor %}
{{ job.name }} {% icon "trash-alt" %} {% trans "Delete" %}
{% endif %} {# shifts #} {% if helper.shifts.count %}

{% trans "Shifts" %}

{% for shift in helper.shifts.all|dictsort:"begin" %} {% endfor %}
{{ shift }} {% icon "trash-alt" %} {% trans "Delete" %}
{% endif %} {# add as coordinator or helper #}

{% icon "plus" %} {% trans "Add to shift" %}   {% icon "plus" %} {% trans "Add as coordinator" %} {% if edit_badge %}   {% icon "pencil-alt" %} {% trans "Edit badge" %} {% endif %}

{# gifts #} {% if gifts_form %}

{% trans "Gifts" %}

{% include "gifts/helper.html" with form=gifts_form helper=helper%} {% endif %} {% endblock %}