From ab5d5a6e94edf44781709c777ab6a49285ddf288 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 25 Jul 2020 20:15:26 +0200 Subject: [PATCH] Display the associated club of the role in the permission page --- templates/permission/all_rights.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/permission/all_rights.html b/templates/permission/all_rights.html index 293e3386..80337134 100644 --- a/templates/permission/all_rights.html +++ b/templates/permission/all_rights.html @@ -15,14 +15,14 @@ {% regroup active_memberships by roles as memberships_per_role %} {% for role in roles %}
  • - {{ role }} {% if role.weirole %}(Pour le WEI){% endif %} + {{ role }} {% if role.weirole %}(Pour le WEI){% endif %} {% if role.for_club %}(Pour le club {{ role.for_club }} uniquement){% endif %} {% if role.clubs %}
    {% trans "Own this role in the clubs" %} {{ role.clubs|join:", " }}
    {% endif %}