{% extends 'events/management/base.html' %} {% from '_switch.html' import switch %} {% from 'message_box.html' import message_box %} {% from 'forms/_form.html' import form_header, form_footer, form_rows %} {% from '_sortable_list.html' import sortable_list, sortable_lists %} {% from 'events/management/_registrations_visibility_list.html' import render_registrations_visibility_labels, render_registrations_visibility_list %} {% block title %} {%- trans %}Participants display{% endtrans -%} {% endblock %} {% block description %} {% trans -%} Customize how the registrations are shown on the participant list page. {%- endtrans %} {% endblock %} {% block content %} {{ form_header(form, id='js-participant-display-form') }} {{ form_rows(form) }} {% if not regforms %}
{% trans %}There are no registration forms for this event.{% endtrans %}
{% trans %}Start by creating a registration form.{% endtrans %}
{% endif %}
{{ switch(id='merge-forms', name='merge-forms', checked=merge_forms) }}
{% trans %}Show all the registrations together, regardless of which form they came from.{% endtrans %}

{% trans -%} Each registration form will have its entries published in the participant list according to its privacy settings. {%- endtrans %}

{{ render_registrations_visibility_list(regforms, settings_icon='lock-center') }}

{% trans -%} By dragging the column titles, you can choose which fields to display and reorder them. Custom fields added to registration forms can only be shown if the registration forms are not merged. {%- endtrans %}

{{ sortable_lists(_("Shown columns"), enabled_columns, _("Hidden columns"), disabled_columns, classes="i-box titled two-columns js-participant-list-columns disable-if-locked") }}

{% trans -%} You can reorder the forms by dragging the tiles. {%- endtrans %}

{% call(form) sortable_list(sorted_forms, classes="tiles disable-if-locked") %} {{ render_registrations_visibility_labels(form) }} {% endcall %}
{% call form_footer(form, align_right=true) %} {% trans %}Back{% endtrans %} {% endcall %} {% endblock %}