{% extends 'events/registration/emails/geant_base_registration_details.html' %} {% block registration_body %}{% endblock %} {% block subject_message -%} Registration {{ registration.state.title|lower }} {%- endblock %} {% block registration_header_text -%} Your registration {{ render_registration_info() }} is now {{ registration.state.title|lower }}. {{ render_text_pending() }} {{ render_text_unpaid() }} {%- endblock %} {% block body_content %} {{ registration_line_divider() }} {{ registration_banner() }} {{ registration_line_divider() }} {{ registration_event_details() }} {{ registration_line_divider() }} {{ registration_participant() }} {{ registration_line_divider() }} {%- if registration.state.title == 'Rejected' -%} {% else %} {{ registration_view_details() }} {{ registration_line_divider() }} {% endif %} {{ registration_further_questions() }} {{ registration_line_divider() }} {% endblock %} {% macro registration_banner_text() %}

Dear {{ registration.full_name }},
{%- if registration.state.title == 'Rejected' -%} Your registration below has been {{ registration.state.title|lower }}. {% else %} Your registration below is now {{ registration.state.title|lower }}. {% endif %}

{% endmacro %} {% macro registration_further_questions_text() %} {%- if registration.state.title == 'Rejected' -%} {% elif registration.state.name == 'complete' %} We look forward to welcoming you! {% endif %} {% endmacro %}