Allow BDF's members to see subscriptions on users

This commit is contained in:
2018-06-10 16:09:21 +02:00
parent 90e1e7c1bb
commit a0a86ef8e1
2 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,7 @@
</div>
</div>
{% 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 #}
<hr>
{% if profile.is_subscribed %}