{% load email_filters %}

{% blocktrans with event.title as title and event.start_dt|date:"N j, Y \a\t f A" as start_dt %}{{ title }} on {{ start_dt }}{% endblocktrans %}

{{ SITE_GLOBAL_SITEDISPLAYNAME }} {% trans "Event Registration Confirmation" %}

{% if total_amount <= 0 %}

{% trans "Price: Free!" %}

{% else %}

{% blocktrans with total_amount|floatformat:"2" as priceflo %}Total Amount: ${{ priceflo }}{% endblocktrans %}

{% endif %} {% if is_paid %} {# handles free & priced events #}
{% if for_admin %} {% trans "Registration Complete." %} {% trans "View Invoice."%}
{{ reg8n_number }} {% trans "Registrant" %}{{ reg8n_number|pluralize }}:
{% for registrant in registrants %}
{% if registrant.get_name %} {{ registrant.get_name }} {% else %} {% trans "Guest #" %}{{ forloop.counter0 }} {% endif %} {% if registrant.email %} ({{ registrant.email }}) {% endif %} {% if registrant.pricing.title %}
{% trans "Registration Type" %}: {{ registrant.pricing.title }}
{% endif %} {% if registrant.custom_reg_form_entry %} {% with registrant.custom_reg_form_entry.roster_field_entry_list as roster_field_list %} {% for field in roster_field_list %} {% if field.value %}
{{ field.label }}: {{ field.value }}
{% endif %} {% endfor %} {% endwith %} {% endif %}
{% endfor %}
{% else %} {% trans "Registration Complete. Enjoy the Event!" %} {% endif %}
{% else %} {% if event.registration_configuration.payment_required %}
{% if for_admin %} {% trans "Almost Registered. Payment is still required." %} {% trans "View Invoice."%}
{{ reg8n_number }} {% trans "Registrant" %}{{ reg8n_number|pluralize }}:
{% for registrant in registrants %}
{% if registrant.get_name %} {{ registrant.get_name }} {% else %} {% trans "Guest #" %}{{ forloop.counter0 }} {% endif %} {% if registrant.email %} ({{ registrant.email }}) {% endif %} {% if registrant.pricing.title %}
{% trans "Registration Type" %}: {{ registrant.pricing.title }}
{% endif %} {% if registrant.custom_reg_form_entry %} {% with registrant.custom_reg_form_entry.roster_field_entry_list as roster_field_list %} {% for field in roster_field_list %} {% if field.value %}
{{ field.label }}: {{ field.value }}
{% endif %} {% endfor %} {% endwith %} {% endif %}
{% endfor %}
{% else %} {% trans "Almost Registered. Payment is still required." %} {% trans "Complete this registration." %} {% endif %}
{% else %}
{% if for_admin %} {% trans "Registration Complete." %}
{{ reg8n_number }} {% trans "Registrant" %}{{ reg8n_number|pluralize }}:
{% for registrant in registrants %}
{% if registrant.name %} {{ registrant.name }} {% else %} {% trans "Guest #" %}{{ forloop.counter0 }} {% endif %} {% if registrant.email %} ({{ registrant.email }}) {% endif %} {% if registrant.pricing.title %}
{% trans "Registration Type" %}: {{ registrant.pricing.title }}
{% endif %} {% if registrant.custom_reg_form_entry %} {% with registrant.custom_reg_form_entry.roster_field_entry_list as roster_field_list %} {% for field in roster_field_list %} {% if field.value %}
{{ field.label }}: {{ field.value }}
{% endif %} {% endfor %} {% endwith %} {% endif %}
{% endfor %}
{% if reg8n.regaddon_set.all.count != 0 %}
{{ reg8n.regaddon_set.all.count }} {% trans "Addons:" %}
{% for regaddon in reg8n.regaddon_set.all %} {% endfor %}
{{ regaddon.addon.title }} ({% for regoption in regaddon.regaddonoption_set.all %}{{ regoption.option.title }}{% if not forloop.last %},{% endif %}{% endfor %})
{% endif %} {% else %} {% trans "Registration Complete. Enjoy the Event!" %} {% endif %}
{% endif %} {% endif %} {% if event.description and event.registration_configuration.registration_email_type and event.registration_configuration.registration_email_type != 'custom' %}
{% blocktrans with desc=event.description|relative_to_absolute_urls|safe %}{{ desc }}{% endblocktrans %}
{% endif %} {% if event.registration_configuration.registration_email_type and event.registration_configuration.registration_email_type != 'default' %} {% if event.registration_configuration.registration_email_text %} {{ event.registration_configuration.registration_email_text|relative_to_absolute_urls|safe }} {% endif %} {% endif %} {% if event.registration_configuration.registration_email_type != 'custom' or not event.registration_configuration.registration_email_text %}

{% trans "Helpful Links" %}

  1. {% trans "Registration Details" %}
  2. {% trans "Cancel Registration" %}
  3. {% trans "Event Details" %}
  4. {% if for_admin %}
  5. {% trans "Event Roster" %}
  6. {% endif %}
  7. {% trans "Add this event to your calendar." %}
  8. {{ SITE_GLOBAL_SITEDISPLAYNAME }} - {{ SITE_GLOBAL_SITEURL }}
{% if for_admin %}
{% trans "Total registrants for this event: " %} {{ event.registrants.count }}
{% trans "This email contains registration details. Keep it in a safe place. Do not forward this email to an untrusted person." %}
{% else %} {% if self_reg8n and not reg8n.registrant.user %}
{% trans "You should register for an account!" %}
{% endif %}
{% trans "This email contains your registration details. Keep it in a safe place. Do not forward this email to an untrusted person." %}
{% endif %} {% endif %}