{% extends "wagtailadmin/generic/index_results.html" %} {% load wagtailimages_tags wagtailadmin_tags %} {% load i18n l10n %} {% block results %}
{% endblock %} {% block no_results_message %} {% if is_searching %}

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

{% else %} {% with wagtailimages_add_image_url=add_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 %} {% endblock %}