{% extends "admin/base.html" %}
{% load i18n %}
{% block title %}PyLucid - {{ title }}{% endblock %}
{% block extrahead %}{% spaceless %}{{ block.super }}
{% if debug %}{% endif %}
{% if Django_media_prefix and PyLucid_media_url %}
{# django include it since http://code.djangoproject.com/changeset/12297 #}
{% if debug %}
{% else %}
{% endif %}
{% include "admin_menu/includes/superfish_extrahead.html" %}
{% else %}{# Django_media_prefix and/or PyLucid_media_url doesn't exist in e.g. 500 error #}
{% endif %}
{% if debug %}{% endif %}
{% endspaceless %}{% endblock extrahead %}
{% block extrastyle %}{% spaceless %}{{ block.super }}
{% if debug %}{% endif %}
{% if PyLucid_media_url %}{# stylesheets for all Django admin views #}
{% else %}{# PyLucid_media_url doesn't exist in e.g. 500 error #}
{% endif %}
{% if debug %}{% endif %}
{% endspaceless %}{% endblock extrastyle %}
{% block branding %}PyLucid
{% endblock %}
{% block pretitle %}
{% if request.user.is_authenticated %}
{% include "admin_menu/includes/pylucid_admin_menu.html" %}
{% endif %}
{% endblock %}
{% block footer %}
{% endblock %}