{% load i18n static %} {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} {% comment %} Eric: 强制webkit {% endcomment %} {% comment %} Eric: 强制webkit end {% endcomment %} {% block title %}{% endblock %} {% block extrastyle %}{% endblock %} {% if LANGUAGE_BIDI %}{% endif %} {% comment %} Eric: 注入自定义css, jq每个页面都需要 {% endcomment %} {% comment %} Eric: 注入自定义css, jq每个页面都需要 end {% endcomment %} {% block extrahead %}{% endblock %} {% block responsive %} {% if LANGUAGE_BIDI %}{% endif %} {% endblock %} {% block blockbots %}{% endblock %} {% load i18n %}
{% if not is_popup %} {% comment %} Eric: 增加侧边栏1 {% endcomment %} {% if has_sidebar %}
{% endif %} {% comment %} Eric: 增加侧边栏1 end {% endcomment %} {% comment %} Eric: 增加侧边栏2 {% endcomment %} {% if has_sidebar %}
{% include "admin/sidebar.html" %}
{% endif %} {% comment %} Eric: 增加侧边栏2 end {% endcomment %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block messages %} {% comment %} {% if messages %} {% endif %} {% endcomment %} {% endblock messages %}
{% block pretitle %}{% endblock %} {% comment %} Eric: 去除content标题 {% endcomment %} {% comment %} {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} {% endcomment %} {% comment %} Eric: 去除content标题 end {% endcomment %} {% block content %} {% block object-tools %}{% endblock %} {{ content }} {% endblock %} {% block sidebar %}{% endblock %}
{% block footer %}{% endblock %} {% comment %} Eric: 增加侧边栏3 {% endcomment %} {% if has_sidebar %} {% if not is_popup %}
{% endif %} {% endif %} {% comment %} Eric: 增加侧边栏3 end {% endcomment %}
{% if has_sidebar %} {% endif %} {% if messages %} {% endif %}