From: yomguy Date: Fri, 20 Apr 2012 12:48:04 +0000 (+0200) Subject: fix user X-Git-Tag: 0.3~15 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9e4fa224e9e7464648d01b6732747bc2f98f5c0f;p=teleforma.git fix user --- diff --git a/teleforma/templates/telemeta/profile_detail.html b/teleforma/templates/telemeta/profile_detail.html index 77366b0f..f809d335 100644 --- a/teleforma/templates/telemeta/profile_detail.html +++ b/teleforma/templates/telemeta/profile_detail.html @@ -88,7 +88,7 @@ -{% if user.is_staff %} +{% if user.username != usr.username and user.is_staff %} {% trans "Login as" %} {% endif %}