{% from 'message_box.html' import message_box %}
{% macro render_registration_list(registrations, dynamic_columns, static_columns, total_registrations) %}
{% if registrations %}
{% else %}
{%- call message_box('info') -%}
{%- if total_registrations %}
{%- trans %}The filtering criteria do not match with any of the existing registrations. Try to clear the filters from the "Customize list" dialog.{% endtrans -%}
{% else %}
{% trans %}There are no registrations yet.{% endtrans %}
{% endif -%}
{%- endcall %}
{% endif %}
{% endmacro %}