django-orchestra-test/orchestra/templates/admin/base_site.html

34 lines
935 B
HTML

{% extends "admin/base.html" %}
{% load admin_tools_menu_tags utils static %}
{% block title %}{% if header_title %}{{ header_title }}{% else %}{{ title }}{% endif %} | {{ SITE_VERBOSE_NAME }} {% endblock %}
{% block blockbots %}
{{ block.super }}
{% comment %}This has to load after admin/js/collapse.js{% endcomment %}
<script src="{% static "orchestra/js/collapse-open.js" %}" type="text/javascript"></script>
{% endblock %}
{% block extrastyle %}
{{ block.super }}
{% if user.is_active and user.is_staff %}
{% if not is_popup %}
{% admin_tools_render_menu_css %}
{% endif %}
{% endif %}
{% endblock %}
{% block branding %}
<a href="{% url 'admin:index' %}"><h1 id="site-name">{{ SITE_VERBOSE_NAME }} <span class="version">{% version %}</span></a>
{% endblock %}
{% block nav-global %}
{% if user.is_active and user.is_staff %}
{% if not is_popup %}
{% admin_tools_render_menu %}
{% endif %}
</div>
{% endif %}
{% endblock %}