{% extends "shatailadmin/base.html" %} {% load shatailadmin_tags i18n %} {% block titletag %}Documents{% endblock %} {% block extra_js %} {{ block.super }} {% endblock %} {% block content %} {% trans "Documents" as doc_str %} {% if user_can_add %} {% trans "Add a document" as add_doc_str %} {% url "shataildocs:add_multiple" as add_link %} {% include "shatailadmin/shared/header.html" with title=doc_str action_url=add_link icon="doc-full-inverse" action_text=add_doc_str search_url="shataildocs:index" %} {% else %} {% include "shatailadmin/shared/header.html" with title=doc_str icon="doc-full-inverse" search_url="shataildocs:index" %} {% endif %}
{% if collections %} {% endif %}
{% include "shataildocs/documents/results.html" %}
{% trans "Select all documents in listing" as select_all_text %} {% include 'shatailadmin/bulk_actions/footer.html' with select_all_obj_text=select_all_text app_label=app_label model_name=model_name objects=documents %} {% endblock %}