{% 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_version as version %} {% get_current_language as current_lang %} {% if current_lang == 'fa' %} {% endif %} {% endblock %} {% block blockbots %} {{ block.super }} {% get_admin_interface_theme as theme %} {% get_admin_interface_version as version %} {# https://github.com/elky/django-flat-responsive#important-note #} {% include "admin_interface/favicon.html" %} {% include "admin_interface/related-modal.html" %} {% endblock %} {% block bodyclass %}admin-interface flat-theme {% get_admin_interface_theme as theme %}{% if theme.name %}{{ theme.name|slugify }}-theme{% endif %}{% if theme.form_submit_sticky %} sticky-submit {% endif %}{% if theme.form_pagination_sticky %} sticky-pagination {% endif %}{% endblock %} {% block branding %} {% get_admin_interface_theme as theme %}