From b0ce8b1b835b5e2e2fc2127cda7c7f5687ed565b Mon Sep 17 00:00:00 2001 From: klmp200 Date: Thu, 24 Aug 2017 14:42:57 +0200 Subject: [PATCH] Fix permission for club in user profile --- core/templates/core/user_clubs.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/core/user_clubs.jinja b/core/templates/core/user_clubs.jinja index 93cd0958..1ca5eb4e 100644 --- a/core/templates/core/user_clubs.jinja +++ b/core/templates/core/user_clubs.jinja @@ -59,7 +59,7 @@ -{% if profile.mailing_subscriptions.exists() and (profile.id == user.id or user.is_root or self.user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID)) %} +{% if profile.mailing_subscriptions.exists() and (profile.id == user.id or user.is_root or user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID)) %}

{% trans %}Subscribed mailing lists{% endtrans %}

{% for sub in profile.mailing_subscriptions.all() %}

{{ sub.mailing.email }} {% trans %}Unsubscribe{% endtrans %}