From 4a3e09126867349e307f66b048ffd84058888b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Wed, 3 Aug 2016 15:53:35 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20acc=C3=A8s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - La vue d'édition du profil n'est plus accessible aux non-COF - Le calendrier dynamique étant réservé aux adhérents, le lien vers l'inscription est caché aux non-adhérents. --- gestioncof/templates/home.html | 2 +- gestioncof/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gestioncof/templates/home.html b/gestioncof/templates/home.html index bcec273c..7616664f 100644 --- a/gestioncof/templates/home.html +++ b/gestioncof/templates/home.html @@ -45,7 +45,6 @@ {% endfor %} {% endif %} - {% endif %}

Divers

@@ -57,6 +56,7 @@ {% if not user.profile.login_clipper %}
  • Changer mon mot de passe
  • {% endif %}
    + {% endif %} {% if user.profile.is_buro %}
    diff --git a/gestioncof/views.py b/gestioncof/views.py index 378cb44d..be0adb35 100644 --- a/gestioncof/views.py +++ b/gestioncof/views.py @@ -295,7 +295,7 @@ def survey_status(request, survey_id): "form": form}) -@login_required +@cof_required def profile(request): success = False if request.method == "POST":