{% trans %}Your registration has been completed{% endtrans %}
{% elif registration.state.name == 'rejected' %}
{% trans %}Your registration has been rejected{% endtrans %}
{% trans -%}
Contact an event manager if you think this is an error.
{%- endtrans %}
{% elif registration.state.name == 'withdrawn' %}
{% trans %}You have withdrawn your registration{% endtrans %}
{% trans -%}
Contact an event manager if you changed your mind.
{%- endtrans %}
{% elif registration.state.name == 'pending' %}
{% trans %}Your registration is awaiting approval{% endtrans %}
{% block registration_pending_explanation %}
{% trans -%}
An event manager will manually validate it.
{%- endtrans %}
{% endblock %}
{% elif registration.state.name == 'unpaid' %}
{% trans %}Your registration is awaiting payment{% endtrans %}
{% if not registration.transaction or registration.transaction.status.name not in ('successful', 'pending') %}
{% trans %}Awaiting your payment.{% endtrans %}
{% elif registration.transaction.status.name == 'pending' %}
{% trans %}Awaiting payment confirmation.{% endtrans %}
{% endif %}
{%- trans %}Proceed to checkout{% endtrans -%}
.
{% endif %}
{% if registration.can_be_modified and not regform.is_modification_open %}
{% trans modification_end_dt=registration.modification_end_dt|format_date(timezone=registration.event.tzinfo) -%}
You are allowed to modify your registration until: {{ modification_end_dt }}
{%- endtrans %}
{% endif %}