{% extends 'admin/base.html' %} {% load i18n static admin_interface_tags %} {% block title %} {% get_admin_interface_theme as theme %} {% if title %}{{ title }} | {% endif %}{% if theme.title %}{% trans theme.title %}{% else %}{{ site_title|default:_('Django administration') }}{% endif %} {% endblock %} {% block extrastyle %} {% get_admin_interface_theme as theme %} {% get_admin_interface_nocache as version_md5_cache %} {% get_current_language as current_lang %} {% if not theme.recent_actions_visible %} {% endif %} {% if current_lang == 'fa' %} {% endif %} {% endblock %} {% block blockbots %} {{ block.super }} {% get_admin_interface_theme as theme %} {% get_admin_interface_nocache as version_md5_cache %} {# https://github.com/elky/django-flat-responsive#important-note #} {% include "admin_interface/favicon.html" %} {% include "admin_interface/foldable-apps.html" %} {% include "admin_interface/related-modal.html" %} {% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block bodyclass %} {% get_admin_interface_theme as theme %} flat-theme admin-interface {% if theme.name %} {{ theme.name|slugify }}-theme {% endif %} {% if theme.foldable_apps %} foldable-apps {% endif %} {% if theme.form_submit_sticky %} sticky-submit {% endif %} {% if theme.form_pagination_sticky %} sticky-pagination {% endif %} {% if theme.list_filter_highlight %} list-filter-highlight {% endif %} {% if theme.list_filter_sticky %} list-filter-sticky {% endif %} {% endblock %} {% block branding %} {% get_admin_interface_theme as theme %}

{% if theme.logo_visible %} {% if theme.logo %} {% else %} {% endif %} {% endif %} {% if theme.title_visible %} {% if theme.title %}{% trans theme.title %}{% else %}{{ site_header|default:_('Django administration') }}{% endif %} {% endif %}

{% endblock %} {% block welcome-msg %} {% get_admin_interface_theme as theme %} {% if theme.env_visible_in_header %}{{ theme.env_name }}
{% endif %}{{ block.super }}
{% endblock %} {% block userlinks %} {{ block.super }} {% get_admin_interface_theme as theme %} {% if theme.language_chooser_active %} {% get_admin_interface_languages as languages %} {% include "admin_interface/language_chooser.html" %} {% endif %} {% endblock %}