--- a/src/ldt/ldt/locale/fr/LC_MESSAGES/django.po Thu Aug 25 12:26:43 2011 +0200
+++ b/src/ldt/ldt/locale/fr/LC_MESSAGES/django.po Thu Aug 25 12:40:27 2011 +0200
@@ -706,6 +706,10 @@
msgid "Log out"
msgstr "Déconnexion"
+#: templates/ldt/ldt_base.html:99
+msgid "Staff"
+msgstr "Staff"
+
#: templates/cms/admin/cms/page/change_form.html:42
msgid "Ordering"
msgstr "Ordre"
--- a/src/ldt/ldt/templates/ldt/ldt_base.html Thu Aug 25 12:26:43 2011 +0200
+++ b/src/ldt/ldt/templates/ldt/ldt_base.html Thu Aug 25 12:40:27 2011 +0200
@@ -95,6 +95,9 @@
<p><a href="{% url ldt.ldt_utils.views.workspace %}">{% block base_title %}{% trans "header_title" %}{% endblock %}</a></p>
</div>
<div id="loginstate" >
+ {% if user.is_staff %}
+ <a href="{% url admin:index %}">Staff </a>|
+ {% endif %}
{% if user.is_authenticated %}
<a href="{% url ldt.user.views.profile %}" >{{user.username}}</a>| <a href="{% url ldt.user.views.logout_view %}" >{% trans "Log out" %}</a>
{% endif %}