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

33 lines
928 B
HTML
Raw Normal View History

2014-05-08 16:59:35 +00:00
{% extends "admin/base.html" %}
2014-09-29 14:45:51 +00:00
{% load admin_tools_menu_tags utils static %}
2014-05-08 16:59:35 +00:00
{% block title %}{% if header_title %}{{ header_title }}{% else %}{{ title }}{% endif %} | {{ SITE_VERBOSE_NAME }} {% endblock %}
2014-09-29 14:45:51 +00:00
{% 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 %}
2014-05-08 16:59:35 +00:00
{% 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 %}
{% endif %}
{% endblock %}