]> git.parisson.com Git - telemeta.git/commitdiff
fix templates
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 21 May 2013 15:25:15 +0000 (17:25 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 21 May 2013 15:25:15 +0000 (17:25 +0200)
telemeta/templates/telemeta/base.html

index b029c9517951de51658b0bf0f74949777ed41180..10d20c5d37338b71f85510a37d8922f5ddf21977 100644 (file)
@@ -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 %}
 <a href="{% url telemeta-profile-detail user.username %}">{% trans "Profile" %}</a> |
 {% endif %}
 <a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> |
  <li><a href="{% url telemeta-geo-continents %}" class="yellow">{% trans "Geo Navigator" %}</a></li>
 
  <li><a href="{% url telemeta-search-criteria %}" class="orange">{% trans "Advanced search" %}</a></li>
- {% 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 %}
  <li><a href="{% url telemeta-users %}" class="red">{% trans "Users" %}</a></li>
  {% endif %}
  {% if user.is_staff %}