{% load wagtailimages_tags wagtailadmin_tags %} {% load i18n l10n %} {% if images %} {% if is_searching %}

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

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

{% trans "Select image" %}

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

{% blocktrans trimmed %}Sorry, no images match "{{ query_string }}"{% endblocktrans %}

{% search_other %} {% else %} {% url 'wagtailimages:add_multiple' as wagtailimages_add_image_url %} {% with wagtailimages_add_image_url|add:querystring as wagtailimages_add_image_url %} {% if current_collection %}

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

{% else %}

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

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