{% load i18n wagtailadmin_tags %}

<h2 role="alert">
    {% blocktrans trimmed count counter=pages.paginator.count %}
        There is {{ counter }} match
    {% plural %}
        There are {{ counter }} matches
    {% endblocktrans %}
</h2>

{% if pages %}
    {% component table %}

    {% url 'wagtailadmin_choose_page_search' as pagination_base_url %}
    {% paginate pages base_url=pagination_base_url classname="navigate-pages" %}
{% endif %}
