{# Stock admin/app_list.html (Django 6.1 markup) plus: icons, and for django-cfg navigation sections (app.cfg_section) #} {# the current item comes from CfgAdminSite (cfg_current), not from a substring test on the path. #} {# Icons are drawn by CSS from data-icon, so the sidebar filter (nav_sidebar.js) never matches the glyph name. #} {% load i18n %} {% if app_list %} {% for app in app_list %}
{% for model in app.models %} {% with model_name=model.object_name|lower %} {% if model.add_url %} {% else %} {% endif %} {% if model.admin_url and show_changelinks %} {% if model.view_only %} {% else %} {% endif %} {% elif show_changelinks %} {% endif %} {% endwith %} {% endfor %}
{% if app.icon %}{% endif %}{{ app.name }}
{% translate 'Model name' %} {% translate 'Add link' %} {% translate 'Change or view list link' %}
{% if model.admin_url %} {% if model.icon %}{% endif %}{{ model.name }} {% else %} {{ model.name }} {% endif %} {% translate 'Add' %}{% translate 'View' %}{% translate 'Change' %}
{% endfor %} {% else %}

{% translate 'You don’t have permission to view or edit anything.' %}

{% endif %}