{% extends 'events/management/full_width_base.html' %} {% from 'events/registration/management/_reglist.html' import render_registration_list %} {% from 'message_box.html' import message_box %} {% block back_button_url -%} {{ url_for('.manage_regform', regform) }} {%- endblock %} {% block title %} {%- trans %}Registration{% endtrans -%} {% endblock %} {% block subtitle %} {% trans title=regform.title %}List of registrations for "{{ title }}"{% endtrans %} {% endblock %} {% block content %} {% if regform.is_purged %} {% call message_box('error', fixed_width=true, large_icon=true) %}
{% trans %}Registration is disabled due to an expired retention period{% endtrans %}
{% endcall %} {% else %} {{ render_registrations() }} {% endif %} {% endblock %} {% macro render_registrations() -%}
{{ regform.active_registration_count }} {%- if regform.registration_limit %} / {{ regform.registration_limit }} {%- endif -%}
{{ render_registration_list(regform, registrations, dynamic_columns, static_columns, total_registrations) }}
{%- endmacro %}