From 774c09387cb2de15033c8a29e94164ba5be00102 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 28 Jun 2023 16:52:59 +0300 Subject: [PATCH] make sure everyone is aware that they're a carp alt --- files/classes/user.py | 3 +++ files/templates/userpage/banner.html | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/files/classes/user.py b/files/classes/user.py index 437e3ac405..4a6f49b616 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -873,6 +873,9 @@ class User(Base): @property @lazy def original_usernames_popover(self): + if SITE_NAME == 'rDrama': + return 'Original Usernames: @carpathianflorist' + if self.username == self.original_username: return '' names = {self.original_username} diff --git a/files/templates/userpage/banner.html b/files/templates/userpage/banner.html index d26b4524b1..0e99559b8c 100644 --- a/files/templates/userpage/banner.html +++ b/files/templates/userpage/banner.html @@ -35,6 +35,10 @@ {% set ns.og_usernames = ns.og_usernames + '
@' ~ u.prelock_username %} {% endif %} + {% if SITE_NAME == 'rDrama' %} + {% set ns.og_usernames = 'Original Usernames:
@carpathianflorist' %} + {% endif %} +