{% load i18n leprikon_tags %}
{% if reg.canceled %}{% endif %}{{ reg.activity.name }}{% if reg.canceled %}{% endif %} ({% trans 'registration number' %}: {{ reg.variable_symbol }}) {% trans 'download' %} {% if not reg.canceled and not reg.cancelation_requested %} {% trans 'cancel' %} {% endif %}
{% if reg.activity_variant.name %}
{{ reg.activity_variant.name }}
{% endif %} {% if reg.start_date %}
{{ reg.event_date }}
{% endif %}
{{ reg.created }}
{% if reg.canceled %} {% if reg.approved %} {% blocktrans with d=reg.canceled %}registration canceled on {{ d }}{% endblocktrans %} {% else %} {% blocktrans with d=reg.canceled %}registration refused on {{ d }}{% endblocktrans %} {% endif %} {% elif reg.cancelation_requested %} {% blocktrans with d=reg.cancelation_requested %}cancellation requested on {{ d }}{% endblocktrans %} {% elif reg.approved %} {% blocktrans with d=reg.approved %}registration approved on {{ d }}{% endblocktrans %} {% else %} {% trans 'awaiting approval' %} {% endif %}
{% for participant in reg.all_participants %}
{{ participant.full_name }}
{% if participant.parents %}
{{ participant.parents | comma_separated }}
{% endif %} {% include 'leprikon/registration_participant_presence.html' %} {% endfor %} {% if reg.activity.registration_type_groups %}
{{ reg.group.name }}
{{ reg.group.full_name }}
{% if reg.activity_variant.require_group_members_list %}
{{ reg.group_members_list_html }}
{% else %}
{{ reg.participants_count }}
{% endif %} {% endif %} {% include 'leprikon/registration_payments.html' %}