From 871ad7c6c8e82282f59819e3a81587718793174b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 25 Feb 2022 15:26:56 +0200 Subject: [PATCH] fdfd --- files/classes/user.py | 2 +- files/templates/admin/badge_grant.html | 2 +- files/templates/admin/badge_remove.html | 2 +- files/templates/badges.html | 2 +- files/templates/comments.html | 2 +- files/templates/patrons.html | 2 +- files/templates/sidebar_Drama.html | 2 +- ubuntu_setup | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 96162fda1..9874a1631 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -214,7 +214,7 @@ class User(Base): @property @lazy def paid_dues(self): - return self.admin_level or self.club_allowed or self.patron > 1 or (self.patron == 1 and self.truecoins > dues/10) or (self.club_allowed != False and self.truecoins > dues) + return not self.shadowbanned and not (self.is_banned and not self.unban_utc) and (self.admin_level or self.club_allowed or self.patron > 1 or (self.patron == 1 and self.truecoins > dues/10) or (self.club_allowed != False and self.truecoins > dues)) @lazy def any_block_exists(self, other): diff --git a/files/templates/admin/badge_grant.html b/files/templates/admin/badge_grant.html index 90e2bab88..76e1e75e4 100644 --- a/files/templates/admin/badge_grant.html +++ b/files/templates/admin/badge_grant.html @@ -60,7 +60,7 @@ - + {{badge.name}} {{badge.description}} diff --git a/files/templates/admin/badge_remove.html b/files/templates/admin/badge_remove.html index d94803bd3..99b84a3d3 100644 --- a/files/templates/admin/badge_remove.html +++ b/files/templates/admin/badge_remove.html @@ -60,7 +60,7 @@ - + {{badge.name}} {{badge.description}} diff --git a/files/templates/badges.html b/files/templates/badges.html index d4de554df..0c541f79d 100644 --- a/files/templates/badges.html +++ b/files/templates/badges.html @@ -23,7 +23,7 @@ {{loop.index}} {{badge.name}} - {{badge.name}} + {{badge.name}} {{badge.description}} {% endfor %} diff --git a/files/templates/comments.html b/files/templates/comments.html index 4d0abddd5..454cbc6cc 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -119,7 +119,7 @@ {% endif %} {% if standalone and level==1 %} -
+