{% load i18n common admin admin_explorer %} {% comment %} A list of objects: the page of a list, or a pane of an object's page. Extend it and fill the blocks to change the columns (table-headings, table-columns), the actions above the list (actions), the buttons beside each row (row-buttons-extra) and the items of each row's menu (row-buttons-items). {% endcomment %} {% if manager %} {% block heading %}

{{ manager.all|plural_label }}

{% block actions %} {% if create %} {% icon "plus" %}{% blocktrans with type=model|type %}Add {{ type }}{% endblocktrans %} {% endif %} {% endblock actions %}
{% endblock heading %} {% endif %} {% block modal %}{% endblock modal %} {% block table %}
{% block table-head %} {% block table-headings %} {% endblock table-headings %} {% endblock table-head %} {% with checker=queryset|permchecker:user %} {% for obj in object_list %} {% block table-row %} {% with object_perms=obj|checkperm:checker %} {% block table-columns %} {% endblock table-columns %} {% endwith %} {% endblock table-row %} {% empty %} {% block table-row-empty %} {% endblock table-row-empty %} {% endfor %} {% endwith %}
{% trans "Name" %}{% trans "Actions" %}
{% if change_perm in object_perms and obj.urls.edit %} {% icon obj|model_icon %}{{ obj }} {% else %} {{ obj }} {% endif %} {% block row-buttons %}
{% block row-buttons-extra %}{% endblock %}
{% endblock row-buttons %}
{% if create %} {% blocktrans with types=model|types type=model|type %}No {{ types }} yet. Add the first {{ type }}.{% endblocktrans %} {% else %} {% blocktrans with types=model|types %}No {{ types }} yet.{% endblocktrans %} {% endif %}
{% endblock table %} {% block pagination %} {% admin_pagination %} {% endblock pagination %}