{% from 'message_box.html' import message_box %} {% from 'attachments/_management_info_column.html' import render_attachment_info %} {% from 'events/management/_affiliation.html' import render_affiliation %} {% macro render_contrib_list(event, total_entries, contribs, sessions, tracks, registered_persons) %} {% if contribs %} {% set has_codes = contribs|selectattr('code')|any %} {% set has_types = contribs|selectattr('type')|any %}
{%- else %} {%- call message_box('info') %} {%- if total_entries %} {%- trans -%} The filtering criteria do not match with any of the existing contributions. Try to clear the filters. {%- endtrans %} {%- else %} {%- trans %}There are no contributions yet.{% endtrans %} {%- endif %} {%- endcall %} {%- endif %} {% endmacro %}