{% load i18n shatailadmin_tags %} {% if documents %} {% if is_searching %}

{% blocktrans trimmed count counter=documents|length %} There is {{ counter }} match {% plural %} There are {{ counter }} matches {% endblocktrans %}

{% search_other %} {% endif %} {% include "shataildocs/documents/list.html" %} {% include "shatailadmin/shared/pagination_nav.html" with items=documents %} {% else %} {% if is_searching %}

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

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