{% extends "admin/index.html" %}{% load i18n log static %} {% block nav-sidebar %} {% include "admin/nav_sidebar.html" with groups=groups %} {% endblock nav-sidebar %} {% block content %}
{% if section %}
{% for model in section.1 %} {% if model.admin_url %} {% else %} {% endif %} {% endfor %}
{{ section.0 }}
{{ model.label }}{{ model.model_name }}
{% elif groups %} {% for section, apps in groups.items %} {% if section != '_hidden_' %}
{% for model in apps %} {% if model.admin_url %} {% else %} {% endif %} {% endfor %}
{{ section }}
{{ model.label }}{{ model.model_name }}
{% endif %} {% endfor %} {% else %}

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

{% endif %}
{% endblock content %} {% block sidebar %} {% endblock sidebar %} {% block footer %} {% endblock footer %}