diff --git a/core/static/core/img/promo_19.png b/core/static/core/img/promo_19.png new file mode 100644 index 00000000..568b35f4 Binary files /dev/null and b/core/static/core/img/promo_19.png differ diff --git a/core/templates/core/user_detail.jinja b/core/templates/core/user_detail.jinja index 6abf5188..94cc88fd 100644 --- a/core/templates/core/user_detail.jinja +++ b/core/templates/core/user_detail.jinja @@ -111,7 +111,7 @@ - {% if user.memberships.filter(end_date=None).exists() or user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user == profile %} + {% if user.memberships.filter(end_date=None).exists() or user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user == profile or user.is_in_group(settings.SITH_BAR_MANAGER_BOARD_GROUP) %} {# if the user is member of a club, he can view the subscription state #}
{% if profile.is_subscribed %} diff --git a/sith/settings.py b/sith/settings.py index a70fcf7c..b1531de0 100644 --- a/sith/settings.py +++ b/sith/settings.py @@ -344,6 +344,7 @@ SITH_MEMBER_SUFFIX = "-membres" SITH_MAIN_BOARD_GROUP = SITH_MAIN_CLUB['unix_name'] + SITH_BOARD_SUFFIX SITH_MAIN_MEMBERS_GROUP = SITH_MAIN_CLUB['unix_name'] + SITH_MEMBER_SUFFIX +SITH_BAR_MANAGER_BOARD_GROUP = SITH_BAR_MANAGER['unix_name'] + SITH_BOARD_SUFFIX SITH_PROFILE_DEPARTMENTS = [ ("TC", _("TC")),