X-Git-Url: http://git.auf.org/?p=auf_django_skin.git;a=blobdiff_plain;f=auf%2Fdjango%2Fskin%2Ftemplates%2Fadmin%2Fbase.html;h=0e3c60a3315edac89a08e1bc71e3e0f7858f1317;hp=c04af16c118b7a23d02cad78c3a5bdf94f31abf1;hb=07222ca74ad5fcecb654b9280fe95a1e48f5a89c;hpb=6a6650bf460540519ba2ae71fca04f3c2e17615b diff --git a/auf/django/skin/templates/admin/base.html b/auf/django/skin/templates/admin/base.html old mode 100644 new mode 100755 index c04af16..0e3c60a --- a/auf/django/skin/templates/admin/base.html +++ b/auf/django/skin/templates/admin/base.html @@ -1,4 +1,4 @@ -{% load theming_tags %} +{% load i18n theming_tags auf_admin %} @@ -12,7 +12,6 @@ {% block extrahead %}{% endblock %} {% block blockbots %}{% endblock %} -{% load i18n %} @@ -36,14 +35,15 @@ {% endif %} Voir le site / - - {% url admin:password_change as password_change_url %} - {% if password_change_url %} - - {% else %} - + {% if can_change_password %} + {% url admin:password_change as password_change_url %} + {% if password_change_url %} + + {% else %} + + {% endif %} + {% trans 'Change password' %} / {% endif %} - {% trans 'Change password' %} / {% url admin:logout as logout_url %} {% if logout_url %}