]> git.parisson.com Git - telemeta.git/commitdiff
normal home for visitors
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 23 May 2013 14:33:07 +0000 (16:33 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 23 May 2013 14:33:07 +0000 (16:33 +0200)
telemeta/templates/telemeta/base.html

index 76faa6005f39b9dcec6355cbf1b1d62fab5195b0..a7b566450aef4b662c90560fad208e11db99c5fe 100644 (file)
@@ -84,7 +84,7 @@
 {# spaces between li and a elements breaks layout #}
 
 <ul id="nav">
- {% if user.is_authenticated %}
+ {% if user.is_authenticated and not perms.telemeta.can_not_view_users_and_profiles %}
   <li><a href="#desk#" class="blue">{% trans "Desk" %}</a>
    <ul>
     <li><a href="{% url telemeta-desk-lists %}">{% trans "Lists" %}</a></li>