{% load eventurl %} {% load i18n %} {% load oneline %} {% if position %}
{% trans "You are receiving this email because someone signed you up for the following event:" %}
{% trans "Event:" %} {{ event.name }}
{% if event.has_subevents and ev.name|upper != event.name|upper %}{{ ev.name }}
{% endif %} {{ ev.get_date_range_display }} {% if event.settings.show_times %} {{ ev.date_from|date:"TIME_FORMAT" }} {% endif %}
{% trans "Order code:" %} {{ order.code }} ({{ order.datetime|date:"SHORT_DATE_FORMAT" }})
{% if order.email %} {% trans "created by" %} {{ order.email }} {% endif %}
{% trans "Contact:" %} {{ event.organizer }} {% if event.settings.contact_mail %}
{{ event.settings.contact_mail }} {% endif %}
{% trans "View registration details" %}
{% else %}
{% trans "You are receiving this email because you placed an order for the following event:" %}
{% if cart %} {% endif %}
{% trans "Event:" %} {{ event.name }} {% if not event.has_subevents and event.settings.show_dates_on_frontpage %}
{{ event.get_date_range_display }} {% if event.settings.show_times %} {{ event.date_from|date:"TIME_FORMAT" }} {% endif %} {% endif %}
{% trans "Order code:" %} {{ order.code }} ({{ order.datetime|date:"SHORT_DATE_FORMAT" }})
{% trans "Details:" %} {% for groupkey, positions in cart %} {% endfor %}
{% if not groupkey.4 %} {# is not addon #} {{ positions|length }}x {% endif %} {% if groupkey.4 %} {# is addon #} + {% if positions|length > 1 %} {{ positions|length }}x {% endif %} {% endif %} {{ groupkey.0.name }}{% if groupkey.1 %} – {{ groupkey.1.value }}{% endif %} {% if groupkey.2 %} {# subevent #}
{% if groupkey.2.name|upper != event.name|upper %} {{ groupkey.2.name }} · {% endif %} {{ groupkey.2.get_date_range_display }} {% if event.settings.show_times %} {{ groupkey.2.date_from|date:"TIME_FORMAT" }} {% endif %} {% if groupkey.2.location %}
{{ groupkey.2.location|oneline }} {% endif %} {% endif %} {% if groupkey.3 %} {# attendee name #}
{{ groupkey.3.name }} {% endif %}
{% trans "Contact:" %} {{ event.organizer }} {% if event.settings.contact_mail %}
{{ event.settings.contact_mail }} {% endif %}
{% trans "View order details" %}
{% endif %}