mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-11 21:26:02 +00:00
Fix tests
This commit is contained in:
1 parent
7002139176
commit
db712c86b8
4 files changed
+34
-25
No files matched your search
@@ -13,7 +13,7 @@
|
||||
<p>{% trans %}Born: {% endtrans %}{{ profile.date_of_birth|date("d/m/Y") }}</p>
|
||||
</div>
|
||||
|
||||
{% if user.membership.filter(end_date=None).exists() %}
|
||||
{% if user.membership.filter(end_date=None).exists() or user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) %}
|
||||
{# if the user is member of a club, he can view the subscription state #}
|
||||
<p>
|
||||
{% if get_subscriber(profile).is_subscribed() %}
|
||||
|
||||
Reference in new issue
Block a user