From 9c0e14c642269e0e12ad31d8299d9f364b73ae2d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 28 Jan 2022 06:37:40 +0200 Subject: [PATCH] fd --- files/classes/mod_logs.py | 4 ++-- files/helpers/const.py | 4 ++-- files/routes/admin.py | 2 +- files/routes/front.py | 2 +- files/templates/admin/admin_home.html | 2 +- files/templates/userpage.html | 8 ++++---- seed-db.sql | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/files/classes/mod_logs.py b/files/classes/mod_logs.py index ee9aa003d..62c1a31bd 100644 --- a/files/classes/mod_logs.py +++ b/files/classes/mod_logs.py @@ -212,12 +212,12 @@ ACTIONTYPES={ "color": "bg-success", }, "agendaposter": { - "str": "set agendaposter theme on {self.target_link}", + "str": "set chud theme on {self.target_link}", "icon": "fa-user-slash", "color": "bg-danger", }, "unagendaposter": { - "str": "removed agendaposter theme from {self.target_link}", + "str": "removed chud theme from {self.target_link}", "icon": "fa-user-slash", "color": "bg-success", }, diff --git a/files/helpers/const.py b/files/helpers/const.py index 846840c8c..96a75390e 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -400,8 +400,8 @@ AWARDS = { }, "agendaposter": { "kind": "agendaposter", - "title": "Rightoid", - "description": "Forces the rightoid theme on the recipient for 24 hours.", + "title": "Chud", + "description": "Forces the chud theme on the recipient for 24 hours.", "icon": "fas fa-snooze", "color": "text-purple", "price": 2500 diff --git a/files/routes/admin.py b/files/routes/admin.py index 5d9d20fc4..222941b83 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -727,7 +727,7 @@ def agendaposter(user_id, v): g.db.commit() if user.agendaposter: return redirect(user.url) - return {"message": "Agendaposter theme disabled!"} + return {"message": "Chud theme disabled!"} @app.post("/shadowban/") diff --git a/files/routes/front.py b/files/routes/front.py index 46842d337..6f7980945 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -173,7 +173,7 @@ def front_all(v): if v.agendaposter_expires_utc and v.agendaposter_expires_utc < time.time(): v.agendaposter_expires_utc = 0 v.agendaposter = None - send_repeatable_notification(v.id, "Your agendaposter theme has expired!") + send_repeatable_notification(v.id, "Your chud theme has expired!") g.db.add(v) badge = v.has_badge(26) if badge: g.db.delete(badge) diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index facc6c0db..969c962eb 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -24,7 +24,7 @@
  • Users Feed
  • Shadowbanned Users
  • Permabanned Users
  • -
  • Users with Agendaposter Theme
  • +
  • Users with Chud Theme
  • Currently Grassed Users
  • diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 3424bdb6e..fdc5766ac 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -255,9 +255,9 @@
    - +
    - Disable Agendaposter Theme + Disable Chud Theme
    
     
    @@ -540,9 +540,9 @@
     						
    - +
    - Disable Agendaposter Theme + Disable Chud Theme
    
     
    diff --git a/seed-db.sql b/seed-db.sql
    index 87ea4a985..d46c65668 100644
    --- a/seed-db.sql
    +++ b/seed-db.sql
    @@ -55,7 +55,7 @@ INSERT INTO public.badge_defs VALUES
     (23,'Landchad','Contributed at least $20'),
     (24,'Terminally online turboautist','Contributed at least $50'),
     (25,'Rich Bich','Contributed at least $100'),
    -(26,'Rightoid','Forced to use the rightoid theme'),
    +(26,'Chud','Forced to use the chud theme'),
     (27,'Lolcow','Beautiful and valid milk provider'),
     (60,'Unironically Retarded','Demonstrated a wholesale inability to read the room'),
     (61,'Lab Rat','Helped test features in development'),