diff --git a/files/assets/images/WPD/sidebar/1.webp b/files/assets/images/WPD/sidebar/1.webp deleted file mode 100644 index fd3160f3c..000000000 Binary files a/files/assets/images/WPD/sidebar/1.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/10.webp b/files/assets/images/WPD/sidebar/10.webp deleted file mode 100644 index 45b0e0110..000000000 Binary files a/files/assets/images/WPD/sidebar/10.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/11.webp b/files/assets/images/WPD/sidebar/11.webp deleted file mode 100644 index 5f9a3a340..000000000 Binary files a/files/assets/images/WPD/sidebar/11.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/12.webp b/files/assets/images/WPD/sidebar/12.webp deleted file mode 100644 index d714aa40d..000000000 Binary files a/files/assets/images/WPD/sidebar/12.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/13.webp b/files/assets/images/WPD/sidebar/13.webp deleted file mode 100644 index 40404b597..000000000 Binary files a/files/assets/images/WPD/sidebar/13.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/14.webp b/files/assets/images/WPD/sidebar/14.webp deleted file mode 100644 index 4c85f06d0..000000000 Binary files a/files/assets/images/WPD/sidebar/14.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/15.webp b/files/assets/images/WPD/sidebar/15.webp deleted file mode 100644 index 0a0fde549..000000000 Binary files a/files/assets/images/WPD/sidebar/15.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/16.webp b/files/assets/images/WPD/sidebar/16.webp deleted file mode 100644 index c5781a155..000000000 Binary files a/files/assets/images/WPD/sidebar/16.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/17.webp b/files/assets/images/WPD/sidebar/17.webp deleted file mode 100644 index 31f97ec5b..000000000 Binary files a/files/assets/images/WPD/sidebar/17.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/18.webp b/files/assets/images/WPD/sidebar/18.webp deleted file mode 100644 index 266152e76..000000000 Binary files a/files/assets/images/WPD/sidebar/18.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/19.webp b/files/assets/images/WPD/sidebar/19.webp deleted file mode 100644 index f84768e30..000000000 Binary files a/files/assets/images/WPD/sidebar/19.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/2.webp b/files/assets/images/WPD/sidebar/2.webp deleted file mode 100644 index e87296f63..000000000 Binary files a/files/assets/images/WPD/sidebar/2.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/21.webp b/files/assets/images/WPD/sidebar/21.webp deleted file mode 100644 index fdf7f8c25..000000000 Binary files a/files/assets/images/WPD/sidebar/21.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/22.webp b/files/assets/images/WPD/sidebar/22.webp deleted file mode 100644 index 58684c3b8..000000000 Binary files a/files/assets/images/WPD/sidebar/22.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/23.webp b/files/assets/images/WPD/sidebar/23.webp deleted file mode 100644 index ead11f58b..000000000 Binary files a/files/assets/images/WPD/sidebar/23.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/6.webp b/files/assets/images/WPD/sidebar/6.webp deleted file mode 100644 index d9df9f999..000000000 Binary files a/files/assets/images/WPD/sidebar/6.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/7.webp b/files/assets/images/WPD/sidebar/7.webp deleted file mode 100644 index e02552d79..000000000 Binary files a/files/assets/images/WPD/sidebar/7.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/8.webp b/files/assets/images/WPD/sidebar/8.webp deleted file mode 100644 index f564d3a17..000000000 Binary files a/files/assets/images/WPD/sidebar/8.webp and /dev/null differ diff --git a/files/assets/images/WPD/sidebar/9.webp b/files/assets/images/WPD/sidebar/9.webp deleted file mode 100644 index b24daca79..000000000 Binary files a/files/assets/images/WPD/sidebar/9.webp and /dev/null differ diff --git a/files/classes/user.py b/files/classes/user.py index dca2d8a87..4f8715656 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -236,7 +236,7 @@ class User(Base): @lazy def mods(self, sub): - return bool(g.db.query(Mod.user_id).filter_by(user_id=self.id, sub=sub).one_or_none()) + return self.admin_level > 2 or bool(g.db.query(Mod.user_id).filter_by(user_id=self.id, sub=sub).one_or_none()) @lazy def exiled_from(self, sub): diff --git a/files/helpers/const.py b/files/helpers/const.py index 95a898ca3..d5cda834a 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -310,8 +310,6 @@ elif SITE == 'watchpeopledie.co': CARP_ID = 14668 AEVANN_ID = 9 SNAKES_ID = 32 - - SIDEBAR_THREAD = 5403 else: # localhost or testing environment implied FEATURES['PRONOUNS'] = True FEATURES['HOUSES'] = True diff --git a/files/templates/sidebar_WPD.html b/files/templates/sidebar_WPD.html index 11c07d444..2fbf60784 100644 --- a/files/templates/sidebar_WPD.html +++ b/files/templates/sidebar_WPD.html @@ -1,11 +1,10 @@