{% extends "admin/index.html" %} {% load i18n admin_static %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block extrahead %} {% endblock %} {% block coltype %}colMS{% endblock %} {% block bodyclass %}{{ block.super }} dashboard{% endblock %} {% block breadcrumbs %}{% endblock %} {% block usertools %} {% if has_permission %}
{% block welcome-msg %} {% firstof user.get_short_name user.get_username %}. {% endblock %} {% block userlinks %} {% if user.is_active and user.is_staff %} {% url 'django-admindocs-docroot' as docsroot %} {% if docsroot %} {% trans 'Documentation' %} / {% endif %} {% endif %} {% if user.has_usable_password %} {% trans 'Change password' %} / {% endif %} {% trans 'Log out' %} {% endblock %}
{% endif %} {% endblock %} {% block content %}
{% if app_list %} {% for col, apps in app_list.items %}
{% for app in apps %} {% if app.name != 'ДРУГОЕ' or user.is_superuser %}
{% if app.name == 'ДРУГОЕ' %} {% trans app.name %} {% else %} {% trans app.name %} {% endif %} {% for model in app.models %} {% if model.model.admin_url %} {% else %} {% endif %} {% endfor %}
{% trans model.model.name %}{% trans model.model.name %}
{% endif %} {% endfor %}
{% endfor %} {% else %}

{% trans "You don't have permission to edit anything." %}

{% endif %}
{% endblock %} {% block sidebar %} {% endblock %}