{% load shatailimages_tags shatailadmin_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 %} {% else %}

{% trans "Latest images" %}

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

{% trans "Select image" %}

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

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

{% search_other %} {% else %} {% url 'shatailimages:add_multiple' as shatailimages_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 %} {% endif %} {% endif %}