make sure everyone is aware that they're a carp alt

pull/159/head
Aevann 2023-06-28 16:52:59 +03:00
parent 5abff86636
commit 774c09387c
2 changed files with 7 additions and 0 deletions

View File

@ -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}

View File

@ -35,6 +35,10 @@
{% set ns.og_usernames = ns.og_usernames + '<br>@' ~ u.prelock_username %}
{% endif %}
{% if SITE_NAME == 'rDrama' %}
{% set ns.og_usernames = 'Original Usernames:<br>@carpathianflorist' %}
{% endif %}
<span id="profile--origname">
<i class="fas fa-user-tag text-info align-middle ml-2" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-html="true" title="{{ns.og_usernames}}"></i>
</span>