forked from rDrama/rDrama
parent
9d9aaec625
commit
90f6b293fa
|
@ -972,7 +972,7 @@ class User(Base):
|
||||||
names.add(self.extra_username)
|
names.add(self.extra_username)
|
||||||
if self.prelock_username:
|
if self.prelock_username:
|
||||||
names.add(self.prelock_username)
|
names.add(self.prelock_username)
|
||||||
return 'Original Usernames: @' + ', @'.join(names)
|
return 'Reserved Usernames: @' + ', @'.join(names)
|
||||||
|
|
||||||
@lazy
|
@lazy
|
||||||
def json_popover(self, v):
|
def json_popover(self, v):
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<h3 class="font-weight-bolder my-0 mr-2" id="profile--name" style="color: #{{u.name_color}}"><span {% if u.patron %}class="patron" style="background-color:#{{u.name_color}}"{% endif %} {% if u.pride_username(v) %}pride_username{% endif %}>{{u.user_name}}</span></h3>
|
<h3 class="font-weight-bolder my-0 mr-2" id="profile--name" style="color: #{{u.name_color}}"><span {% if u.patron %}class="patron" style="background-color:#{{u.name_color}}"{% endif %} {% if u.pride_username(v) %}pride_username{% endif %}>{{u.user_name}}</span></h3>
|
||||||
|
|
||||||
{% if can_see(v, u) %}
|
{% if can_see(v, u) %}
|
||||||
{% set ns.og_usernames = 'Original Usernames:' %}
|
{% set ns.og_usernames = 'Reserved Usernames:' %}
|
||||||
|
|
||||||
{% if u.username != u.original_username %}
|
{% if u.username != u.original_username %}
|
||||||
{% set ns.og_usernames = ns.og_usernames + '<br>@' ~ u.original_username %}
|
{% set ns.og_usernames = ns.og_usernames + '<br>@' ~ u.original_username %}
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
{% set ns.og_usernames = ns.og_usernames + '<br>@' ~ u.prelock_username %}
|
{% set ns.og_usernames = ns.og_usernames + '<br>@' ~ u.prelock_username %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if ns.og_usernames != 'Original Usernames:' %}
|
{% if ns.og_usernames != 'Reserved Usernames:' %}
|
||||||
<span id="profile--origname">
|
<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>
|
<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>
|
</span>
|
||||||
|
@ -346,7 +346,7 @@
|
||||||
{{userpage_admintools.userBanBlock('mobile')}}
|
{{userpage_admintools.userBanBlock('mobile')}}
|
||||||
<h5 class=" d-inline-block" id="profile-mobile--name" style="color: #{{u.name_color}}"><span {% if u.patron %}class="patron" style="background-color:#{{u.name_color}}"{% endif %} {% if u.pride_username(v) %}pride_username{% endif %}>{{u.user_name}}</span></h5>
|
<h5 class=" d-inline-block" id="profile-mobile--name" style="color: #{{u.name_color}}"><span {% if u.patron %}class="patron" style="background-color:#{{u.name_color}}"{% endif %} {% if u.pride_username(v) %}pride_username{% endif %}>{{u.user_name}}</span></h5>
|
||||||
|
|
||||||
{% if can_see(v, u) and ns.og_usernames != 'Original Usernames:' %}
|
{% if can_see(v, u) and ns.og_usernames != 'Reserved Usernames:' %}
|
||||||
<span id="profile-mobile--origname">
|
<span id="profile-mobile--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>
|
<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>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue