From 4a67ee85562c3b4400efcb177899ddf1ef30a267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Sat, 14 Apr 2018 11:53:59 +0000 Subject: [PATCH] Fix the display of mailing info on clubs --- users/templates/users/profil.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index ba45c0bd..169524f5 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -82,8 +82,17 @@ non adhérent{% endif %} et votre connexion est {% if users.has_access %}
- + {% if users.is_class_club %} + + {% if users.club.mailing %} + + {% else %} + + {% endif %} + {% else %} + + {% endif %}
PrénomMailing{{ users.pseudo }}(-admin)Mailing désactivéePrénom {{ users.name }}Nom {{ users.surname }}