ajout du bandeau de lecture-seule
[auf_rh_dae.git] / project / templates / admin / base_site.html
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 %}
13 {% endblock %}
14
15 {% block branding %}
16 <h1 id="site-name">{% trans 'Django administration' %}</h1>
17 {% endblock %}
18
19 {% block nav-global %}
20 {% if user.is_active and user.is_staff %}
21 {% if not is_popup %}
22 {% admin_tools_render_menu %}
23 {% endif %}
24 {% endif %}
25 {% endblock %}
26
27 {% block pretitle %}
28 <ul class="messagelist">
29 <li class="warning" style="font-size: 150%">Attention: Ce site est maintenant uniquement accessible en lecture.</li>
30 </ul>
31 {% endblock %}