{% load i18n wagtailadmin_tags %} {% if documents %} {% if is_searching %}
{% 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 %} {% endif %}