From: Guillaume Pellerin Date: Tue, 21 May 2013 15:25:15 +0000 (+0200) Subject: fix templates X-Git-Tag: 1.4.5~15 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=67ba579184181f5a0a01fd6dea1588bb0fd8cf3f;p=telemeta.git fix templates --- diff --git a/telemeta/templates/telemeta/base.html b/telemeta/templates/telemeta/base.html index b029c951..10d20c5d 100644 --- a/telemeta/templates/telemeta/base.html +++ b/telemeta/templates/telemeta/base.html @@ -58,7 +58,7 @@ {% else %} {{ user.username }} | {% endif %} -{% if not perms.telemeta.cannot_view_users_and_profiles %} +{% if not perms.telemeta.can_not_view_users_and_profiles %} {% trans "Profile" %} | {% endif %} {% trans "Help" %} | @@ -108,7 +108,7 @@
  • {% trans "Geo Navigator" %}
  • {% trans "Advanced search" %}
  • - {% if user.is_authenticated and not perms.telemeta.cannot_view_users_and_profiles %} + {% if user.is_authenticated and not perms.telemeta.can_not_view_users_and_profiles %}
  • {% trans "Users" %}
  • {% endif %} {% if user.is_staff %}