{% extends 'events/registration/emails/base_registration_details.html' %} {% block subject_message -%} {% if registration.state.name == 'pending' -%} {% trans title=event.title %}New pending registration for {{ title }}{% endtrans %} {%- else -%} {% trans title=event.title %}New registration for {{ title }}{% endtrans %} {%- endif %} {%- endblock %} {% block registration_header -%}

{% trans %}Dear organizer,{% endtrans %}

{% block registration_header_text %} {% trans title=event.title, name=registration.full_name, strong=''|safe, endstrong=''|safe -%} There is a new registration for the event {{ strong }}{{ title }}{{ endstrong }} under {{ strong }}{{ name }}{{ endstrong }}. {% endtrans %} {{ render_text_pending() }} {{ render_text_manage() }} {% endblock %}

{%- endblock %} {% block registration_footer %}

{% trans %}To manage this registration form follow this link:{% endtrans %} {% trans %}Manage registration form{% endtrans %}

{% endblock %} {% macro render_rejection_reason() %} {% if registration.state.name == 'rejected' and registration.rejection_reason %}
{% trans %}Rejection reason:{% endtrans %} {{ registration.rejection_reason }}
{% endif %} {% endmacro %} {% macro render_text_pending() %} {% if registration.state.name == 'pending' %} {% trans %}Please note that it's waiting for manual approval by a manager.{% endtrans %} {% endif %} {% endmacro %} {% macro render_text_manage() %} {% trans link=''|format(registration.external_registration_details_url)|safe, endlink=''|safe -%} You can manage this registration {{ link }}here{{ endlink }}. {%- endtrans %} {% endmacro %}