{% load perm_tags %} {# admin left for deprecation for custom templates/themes #} {% is_admin request.user as admin %} {{ NEW_RELIC_HEADER|safe }} {% block full_title %}{% block title %}{% endblock %} {{ SITE_GLOBAL_SITEDISPLAYNAME }}{% endblock %} {% block full_meta_description %}{% endblock %} {% block full_meta_keywords %}{% endblock %} {% block meta_canonical_url %}{% endblock %} {% block extra_head %}{% endblock %} {% if request.user.is_authenticated %} {% endif %} {% if SITE_GLOBAL_SEMGOOGLEANALYTICSPROFILEID %} {% endif %} {% block top_bar %} {% if request.user.is_superuser %} {% if request.user.impersonated_user and not request.user.impersonated_user.is_superuser %} {% if request.user.is_authenticated %} {% include "top_menu/user_top.html" %} {% endif %} {% else %} {% include "top_menu/admin_top.html" %} {% if request.session.theme %} {% include "themes/theme_top.html" %} {% endif %} {% endif %} {% else %} {% if request.user.is_authenticated %} {% include "top_menu/user_top.html" %} {% endif %} {% endif %} {% endblock %} {% block html_body %}{% endblock %} {% if request.user.is_superuser %}{# include "admin_menu/admin_bottom.html" #}{% endif %} {% block jquery_script %}{% endblock jquery_script %} {% if request.user.is_superuser %}{% endif %} {% if user.is_authenticated %}{% endif %} {% if request.user.is_authenticated %} {% endif %} {% block extra_body %}{% endblock %} {{ NEW_RELIC_FOOTER|safe }}