equal
deleted
inserted
replaced
4 <title>{% block title %}{% endblock %}</title> |
4 <title>{% block title %}{% endblock %}</title> |
5 <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" /> |
5 <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" /> |
6 {% block extrastyle %}{% endblock %} |
6 {% block extrastyle %}{% endblock %} |
7 <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% load adminmedia %}{% admin_media_prefix %}css/ie.css{% endblock %}" /><![endif]--> |
7 <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% load adminmedia %}{% admin_media_prefix %}css/ie.css{% endblock %}" /><![endif]--> |
8 {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />{% endif %} |
8 {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />{% endif %} |
|
9 <script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";</script> |
9 {% block extrahead %}{% endblock %} |
10 {% block extrahead %}{% endblock %} |
10 {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %} |
11 {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %} |
11 </head> |
12 </head> |
12 {% load i18n %} |
13 {% load i18n %} |
13 |
14 |
20 <!-- Header --> |
21 <!-- Header --> |
21 <div id="header"> |
22 <div id="header"> |
22 <div id="branding"> |
23 <div id="branding"> |
23 {% block branding %}{% endblock %} |
24 {% block branding %}{% endblock %} |
24 </div> |
25 </div> |
25 {% if user.is_authenticated and user.is_staff %} |
26 {% if user.is_active and user.is_staff %} |
26 <div id="user-tools"> |
27 <div id="user-tools"> |
27 {% trans 'Welcome,' %} |
28 {% trans 'Welcome,' %} |
28 <strong>{% firstof user.first_name user.username %}</strong>. |
29 <strong>{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong>. |
29 {% block userlinks %} |
30 {% block userlinks %} |
30 {% url django-admindocs-docroot as docsroot %} |
31 {% url django-admindocs-docroot as docsroot %} |
31 {% if docsroot %} |
32 {% if docsroot %} |
32 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / |
33 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / |
33 {% endif %} |
34 {% endif %} |