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
|
|
|
|
2015-05-04 13:02:00 +00:00
|
|
|
{% block title %}{% if header_title %}{{ header_title }}{% else %}{{ title }}{% endif %} | {{ ORCHESTRA_SITE_VERBOSE_NAME }} {% endblock %}
|
2014-05-08 16:59:35 +00:00
|
|
|
|
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 %}
|
2015-05-04 13:02:00 +00:00
|
|
|
<!--<a href="{% url 'admin:index' %}"><h1 id="site-name">{{ ORCHESTRA_SITE_VERBOSE_NAME }} <span class="version">{% version %}</span></a>-->
|
2014-05-08 16:59:35 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block nav-global %}
|
|
|
|
{% if user.is_active and user.is_staff %}
|
|
|
|
{% if not is_popup %}
|
|
|
|
{% admin_tools_render_menu %}
|
|
|
|
{% endif %}
|
2014-10-14 13:50:19 +00:00
|
|
|
</div>
|
2014-05-08 16:59:35 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|