--- a/web/hdabo/templates/hdabo_base.html Tue Jul 12 14:11:54 2011 +0200
+++ b/web/hdabo/templates/hdabo_base.html Tue Jul 12 14:46:28 2011 +0200
@@ -58,7 +58,7 @@
{% if user.is_authenticated %}
<ul><li><a href="{% url hdabo.views.home %}">Home</a></li>
<li><a href="{% url hdabo.views.all_tags %}">Tous les tags</a></li>
- <li><span style="float:right;">{{user.username}} | <a href="{% url django.contrib.auth.views.logout_then_login %}" >Se déconnecter</a></li>
+ <li><span style="float:right;">{{user.username}} | <a href="{% url django.contrib.auth.views.logout_then_login %}" >Se déconnecter</a>{% if user.is_staff %} | <a href="{{BASE_URL}}admin" >admin</a>{% endif %}</span></li>
</ul>
{% endif %}
{% endblock %}