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

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

{% else %} {% with wagtaildocs_add_document_url=add_url %} {% if current_collection %}

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

{% else %}

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

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