{{ data.event_name }}{{ " ("+data.event_title+")" if data.event_title }}
{%- if "Rsrv" in data.profile.profile_name %}
{%- if data.profile.reservation.append is defined %}
Start: {{ data.profile.reservation[0].event_start_dt }}
Until: {{ data.profile.reservation[-1].event_end_dt }}
{%- else %}
Start: {{ data.profile.reservation.event_start_dt }}
Until: {{ data.profile.reservation.event_end_dt }}
{%- endif %}
{%- else %}
{{ data.profile.profile_name }}
{%- endif %}
{%- if data.profile.append is not defined %}
{%- if data.profile.reservation.append is defined %}
{%- if data.profile.reservation[0].space_reservation.append is defined %}
{%- for space in data.profile.reservation[0].space_reservation %}
{{ space.space.formal_name }}
{%- endfor %}
{%- else %}
{{ data.profile.reservation[0].space_reservation.space.formal_name }}
{%- endif %}
{%- else %}
{%- if data.profile.reservation.space_reservation.append is defined %}
{%- for space in data.profile.reservation.space_reservation %}
{{ space.space.formal_name }}
{%- endfor %}
{%- else %}
{{ data.profile.reservation.space_reservation.space.formal_name }}
{%- endif %}
{%- endif %}
{%- endif %}
{%- if data.event_text %}
Description
{%- if data.event_text.append is defined %} {%- for i in data.event_text %} {%- if i.text_type_id == 1 %}{{ i.text | safe }}
{%- endif %} {%- endfor %} {%- elif data.event_text.text_type_id == 1 %}{{ data.event_text.text | safe }}
{%- endif %} {%- endif %}Contact(s)
{%- for i in data.role %}{{ i.role_name }}: {{ i.contact.contact_first_name }} {{ i.contact.contact_middle_name }} {{ i.contact.contact_last_name }}
{%- if i.contact.email %}Email: {{ i.contact.email }}
{%- endif %} {%- if i.contact.phone %}Phone: {{ i.contact.phone }}
{%- endif %} {%- if i.contact.formatted_address %}Address: {{ i.contact.formatted_address }}
{%- endif %} {%- endfor %} {%- if data.custom_attribute %}Custom Attribute(s)
{%- if data.custom_attribute.append is defined %} {%- for i in data.custom_attribute %}{{ i.attribute_name }}
{{ i.attribute_value }}
{%- endfor %} {%- else %}{{ data.custom_attribute.attribute_name }}
{{ data.custom_attribute.attribute_value }}
{%- endif %} {%- endif %}