{% 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" %} {% include "admin_interface/collapsible-inlines.html" %} {% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block bodyclass %} {% get_admin_interface_theme as 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 %} {% admin_interface_use_changeform_tabs adminform inline_admin_formsets as admin_interface_use_changeform_tabs %} {% if admin_interface_use_changeform_tabs %} {% if theme.show_fieldsets_as_tabs %} show-fieldsets-as-tabs {% endif %} {% if theme.show_inlines_as_tabs %} show-inlines-as-tabs {% endif %} {% endif %} {% if theme.collapsible_stacked_inlines %} collapsible-stacked-inlines {% if theme.collapsible_stacked_inlines_collapsed %} collapsible-stacked-inlines-collapsed {% endif %} {% endif %} {% if theme.collapsible_tabular_inlines %} collapsible-tabular-inlines {% if theme.collapsible_tabular_inlines_collapsed %} collapsible-tabular-inlines-collapsed {% endif %} {% 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 %} {% admin_interface_language_chooser %} {% endif %} {% endblock %}