make sure everyone is aware that they're a carp alt
parent
5abff86636
commit
774c09387c
|
@ -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}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue