{# 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 %}
| {% 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 %} | {% if model.add_url %}{% translate 'Add' %} | {% else %}{% endif %} {% if model.admin_url and show_changelinks %} {% if model.view_only %} | {% translate 'View' %} | {% else %}{% translate 'Change' %} | {% endif %} {% elif show_changelinks %}{% endif %} |
{% translate 'You don’t have permission to view or edit anything.' %}
{% endif %}