{% load wagtailadmin_tags i18n %} {% block before_results %} {% if view.active_filters %} {% include "wagtailadmin/shared/active_filters.html" with active_filters=view.active_filters %} {% endif %} {% if render_filters_fragment %} {% endif %} {% if render_buttons_fragment %} {% endif %} {% block other_searches %}{% endblock %} {% if not object_list %} {# pass, to allow the same logic as `if object_list and (is_searching or is_filtering)` #} {% elif is_searching or is_filtering %}

{% blocktrans trimmed with counter=items_count|intcomma count counter_val=items_count %} There is {{ counter }} match {% plural %} There are {{ counter }} matches {% endblocktrans %}

{% endif %} {% endblock %} {% if object_list %} {% block results %} {% component table %} {% endblock %} {% block pagination %} {% if is_paginated %}
{% include "wagtailadmin/shared/pagination_nav.html" with items=page_obj linkurl=index_url %}
{% endif %} {% endblock %} {% else %}
{% block no_results_message %}

{{ no_results_message|capfirst }}

{% endblock %}
{% endif %}