Rename membership to memberships

This commit is contained in:
Skia
2016-09-15 11:06:51 +02:00
parent 3d9dfbc43a
commit 6aaeb7cdc9
5 changed files with 27 additions and 7 deletions

View File

@ -52,7 +52,7 @@
</div>
</div>
{% if user.membership.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 %}
{# if the user is member of a club, he can view the subscription state #}
<p>
{% if get_subscriber(profile).is_subscribed() %}