Commit | Line | Data |
---|---|---|
6a6650bf OL |
1 | {% extends "admin/base.html" %} |
2 | {% load i18n admin_tools_menu_tags %} | |
3 | ||
4 | {% block title %}{{ title }} | {% trans 'Django site admin' %}{% endblock %} | |
5 | ||
6 | {% block extrastyle %} | |
7 | {{ block.super }} | |
8 | {% if user.is_active and user.is_staff %} | |
9 | {% if not is_popup %} | |
10 | {% admin_tools_render_menu_css %} | |
11 | {% endif %} | |
12 | {% endif %} | |
7fbd9cba | 13 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}skin/css/admin.css" media="all"/> |
6a6650bf OL |
14 | {% endblock %} |
15 | ||
16 | {% block branding %} | |
17 | <h1 id="site-name">{{ AUF_SITE }}</h1> | |
18 | {% endblock %} | |
19 | ||
20 | {% block nav-global %} | |
21 | {% if user.is_active and user.is_staff %} | |
22 | {% if not is_popup %} | |
23 | {% admin_tools_render_menu %} | |
24 | {% endif %} | |
25 | {% endif %} | |
26 | {% endblock %} |