alt seeing eye

master
justcool393 2022-10-05 22:01:02 -07:00
parent d78d57ec79
commit f531b12727
2 changed files with 3 additions and 2 deletions

View File

@ -153,6 +153,7 @@ PERMS = { # Minimum admin_level to perform action.
'VIEW_CLUB': 1,
'VIEW_CHUDRAMA': 1,
'VIEW_PRIVATE_PROFILES': 2,
'VIEW_ALTS': 2,
'PRINT_MARSEYBUX_FOR_KIPPY_ON_PCMEMES': 3,
'VIEW_ACTIVE_USERS': 2,
'MERGE_USERS': 3, # note: extra check for Aevann

View File

@ -387,7 +387,7 @@
{% if u.is_private %}
<p id="profile--info--private">User has private mode enabled.</p>
{% endif %}
{% if v and (v.admin_level > 1 or v.alt) %}
{% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %}
<span id="profile--alts">Alts:</span>
<ul id="profile--alts-list">
{% for account in u.alts_unique %}
@ -750,7 +750,7 @@
{% if u.is_private %}
<p id="profile-mobile--info--private">User has private mode enabled.</p>
{% endif %}
{% if v and (v.admin_level > 1 or v.alt) %}
{% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %}
<span id="profile-mobile--alts">Alts:</span>
<ul id="profile-mobile--alts-list">
{% for account in u.alts_unique %}