{% extends 'emails/base.html' %} {% macro print_dt(content, colon=True) %}
{{ content }}{% if colon %}:{% endif %}
{% endmacro %} {% macro print_dd(content) %}
{{ content | safe}}
{% endmacro %} {% macro registration_subject() %} {% block registration_subject %}{% endblock %} {% endmacro %} {% block subject -%} {{ registration_subject() }} - {{ event.getTitle() }}: {{ registrant.getFirstName() }} {{ registrant.getFamilyName() }} {%- endblock %} {% block header %}{% endblock %} {% block footer %}{% endblock %} {% block body -%}

{{ registration_subject() }} (#{{ registrant.getId() }})

{% block registration_header %}{% endblock %}

General information

{{ print_dt('Registrant ID') }} {{ print_dd(registrant.getId()) }} {%- if reg_details.reason %} {{ print_dt('Participation reason') }} {{ print_dd(reg_details.reason) }} {%- endif %}
{%- if reg_details.accommodation_type %}

Accommodation details

{{ print_dt('Arrival date') }} {{ print_dd(reg_details.accommodation_arrival) }} {{ print_dt('Departure date') }} {{ print_dd(reg_details.accommodation_departure) }} {{ print_dt('Accommodation type') }} {{ print_dd(reg_details.accommodation_type) }}
{%- endif %} {%- if reg_details.sessions %}

Sessions

{%- if reg_details.sessions_type %}
{{ print_dt('First priority') }} {{ print_dd(reg_details.sessions[0]) }} {% if reg_details.sessions[1] %} {{ print_dt('Other option') }} {{ print_dd(reg_details.sessions[1]) }} {%- endif %}
{%- else %}
    {%- for session in reg_details.sessions %}
  • {{ session }}
  • {%- endfor %}
{%- endif %}
{%- endif %} {%- if reg_details.social %}

Social events

    {% for name, places in reg_details.social.iteritems() %}
  • {{ name }} [{{ places }} place(s) needed]
  • {%- endfor %}
{%- endif %} {%- if reg_details.misc_details %} {% for title, fields in reg_details.misc_details.iteritems() %}

{{ title }}

{%- for name, value_attrs in fields.iteritems() if value_attrs.value %} {{ print_dt(name, value_attrs.value) }} {%- if value_attrs.value -%} {% set description = value_attrs.value %} {% if value_attrs.price -%} {% set description = description + ' (' + value_attrs.price + ' ' + value_attrs.currency + ')' %} {%- endif %} {{ print_dd(description) | safe }} {%- endif %} {%- endfor %}
{% endfor %} {%- endif %} {% block registration_footer %} {%- if registration_email_msg %}

Additional information

{{ registration_email_msg }}

{%- endif %}

To manage your registration, follow this link: Manage my registration

{% endblock %}
Indico :: Event Registration Notifier
{% endblock %}