{% load wagtail_content_admin_tags wagtailadmin_tags django_auxiliaries_tags %} {% load i18n l10n %} {% block extra_css %} {% endblock %} {% url add_url as add_link %} {% if instances %} {% if is_searching %}

{% blocktrans count counter=instances.paginator.count %} There is {{ counter }} match {% plural %} There are {{ counter }} matches {% endblocktrans %}

There are {{ instances.paginator.count }} matche(s).

{# search_other #} {% else %}

{{ latest_prompt }}

{% endif %} {# Used below for the checkbox aria_labelledby #}

{{ select_prompt }}

{% include "wagtailadmin/shared/pagination_nav.html" with items=instances %} {% else %} {% if is_searching %}

{% blocktrans %}Sorry, no media items match "{{ query_string }}"{% endblocktrans %}

{# search_other #} {% else %} {% if current_collection %}

{% blocktrans %}You haven't uploaded any content items in this collection. Why not upload one now?{% endblocktrans %}

{% else %}

{% blocktrans %}You haven't uploaded any content items. Why not upload one now?{% endblocktrans %}

{% endif %} {% endif %} {% endif %}