forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-14 00:00:48 +02:00
parent 14742ec344
commit 8aec44b386
2 changed files with 3 additions and 3 deletions

View File

@ -160,7 +160,7 @@ class User(Base, Stndrd, Age_times):
@property
def paid_dues(self):
return not self.club_banned and (self.admin_level == 6 or self.club_allowed or self.truecoins > int(environ.get("DUES").strip()))
return self.admin_level == 6 or self.club_allowed or self.truecoins > int(environ.get("DUES").strip())
def any_block_exists(self, other):

View File

@ -328,7 +328,7 @@
<input type="submit" class="btn btn-danger" value="Remove User's Content">
</form>
{% if not u.club_allowed %}
{% if not v.paid_dues %}
<button class="btn btn-success" onclick="post_toast('/@{{u.username}}/club_ban')">Grant club access</button>
{% endif %}
{% if not u.club_banned %}
@ -514,7 +514,7 @@
{% if v.admin_level > 1 %}
{% if not u.club_allowed %}
{% if not v.paid_dues %}
<button class="btn btn-success" onclick="post_toast('/@{{u.username}}/club_ban')">Grant club access</button>
{% endif %}
{% if not u.club_banned %}