diff --git a/users/templates/users/sidebar.html b/users/templates/users/sidebar.html index 27f6b2b1..71727243 100644 --- a/users/templates/users/sidebar.html +++ b/users/templates/users/sidebar.html @@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load acl %} {% block sidebar %} + {% if request.user.is_authenticated%} {% can_create Club %} @@ -37,6 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc., Créer un adhérent {% acl_end %} + {% endif %} {% can_view_all Club %}