{% import 'userpage/admintools.html' as userpage_admintools with context %} {% set hats_total = u.hats_owned_proportion_display[1] if u else 0 %} {% set hats_owned_percent = u.hats_owned_proportion_display[0] if u else '' %} {% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %} {% set alts = get_alt_graph(u.id) %} {% endif %} {% block desktopUserBanner %}
{{userpage_admintools.userBanBlock('desktop')}}

{{u.user_name}}

{% if u.username != u.original_username %} {% endif %} {% if FEATURES['PATRON_ICONS'] and u.patron %} {{u.patron_tooltip}} {% endif %} {% if FEATURES['HOUSES'] and u.house %} House {{u.house}} {% endif %} {% if u.verified %} {% endif %} {% if u.admin_level >= PERMS['ADMIN_MOP_VISIBLE'] %} {% endif %} {% if v and v.id != u.id and v.has_follower(u) %} Follows you {% endif %}
{% if FEATURES['PRONOUNS'] and u.can_see_my_shit %}

{{u.pronouns}}

{% endif %} {% if u.customtitle and u.can_see_my_shit %}

{{u.customtitle | safe}}

{% endif %} {% if v and (v.id == u.id or v.admin_level >= PERMS['USER_VOTERS_VISIBLE']) -%} {%- endif %}
{{u.coins}} coins {% if FEATURES['MARSEYBUX'] %} {{u.marseybux}} marseybux {% endif %} {% if PERMS['USER_FOLLOWS_VISIBLE'] == 0 or (v and v.admin_level >= PERMS['USER_FOLLOWS_VISIBLE']) -%} {{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}} follows {{u.follow_count}} user{{'s' if u.follow_count != 1 else ''}} {%- endif %} joined {{u.created_date}} {% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%} last active {{u.last_active_date}} {%- endif %}
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%} {% if u.bio_html and u.can_see_my_shit %}
{{u.bio_html | safe}}
{% else %}

No bio...

{% endif %} {% if u.friends_html and u.can_see_my_shit %}

Friends:

{{u.friends_html | safe}}
{% endif %} {% if u.enemies_html and u.can_see_my_shit %}

Enemies:

{{u.enemies_html | safe}}
{% endif %} {%- endif %} {% if u.received_awards and FEATURES['AWARDS'] %}

Awards received

{% for a in u.received_awards %} x{{a['count']}} {% endfor %}
{% endif %} {% if u.moderated_subs %}

Moderator of

{% for a in u.moderated_subs %} /h/{{a}} {% endfor %}
{% endif %}
{% if v and v.id != u.id %}
{% if FEATURES['USERS_SUICIDE'] -%} {%- endif %} {% if FEATURES['MARSEYBUX'] -%} {%- endif %}
{% set upload_disabled = g.is_tor or not get_setting('dm_images') %} {{macros.file_input('file-upload-macro', True)}}
{{u.username}} will receive 0 coins
{{u.username}} will receive 0 marseybux
{{userpage_admintools.userAdminTools('desktop')}} {% endif %}
{% if v and v.id == u.id %} Edit Profile {% endif %} {% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %} {% endif %} {% if v and v.id == u.id %}
{% if v.profile_background -%}
{%- endif %} {% endif %}

User ID: {{u.id}}

Coins spent: {{u.coins_spent}}

True score: {{u.truescore}}

Winnings: {{u.winnings}}

= hats_total %}class="profile-owned-all-hats"{% endif %}>{{u.num_of_owned_hats}} / {{hats_total}} hats owned ({{hats_owned_percent}})

{% if u.is_private %}

User has private mode enabled

{% endif %} {% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %} {% if v.admin_level >= PERMS['USER_LINK'] %} {{alts|length}} Alt{{macros.plural(alts|length)}}: {% else %} {{alts|length}} Alt{{macros.plural(alts|length)}}: {% endif %} {% endif %}
{% if FEATURES['BADGES'] -%}
{% for b in u.badges %} {% if b.url %} {{b.name}} {% else %} {{b.name}} {% endif %} {% endfor %}
{%- endif %}
{% endblock %} {% block mobileUserBanner %}
{{userpage_admintools.userBanBlock('mobile')}}
{{u.user_name}}
{% if u.username != u.original_username %} {% endif %} {% if FEATURES['PATRON_ICONS'] and u.patron %} {{u.patron_tooltip}} {% endif %} {% if FEATURES['HOUSES'] and u.house %} House {{u.house}} {% endif %} {% if u.verified %}   {% endif %} {% if u.admin_level >= PERMS['ADMIN_MOP_VISIBLE'] %} {% endif %} {% if v and v.id != u.id and v.has_follower(u) %} Follows you {% endif %} {% if FEATURES['PRONOUNS'] and u.can_see_my_shit %}

{{u.pronouns}}

{% endif %} {% if u.customtitle and u.can_see_my_shit %}

{{u.customtitle | safe}}

{% endif %} {% if v and (v.id == u.id or v.admin_level >= PERMS['USER_VOTERS_VISIBLE']) -%} {%- endif %}
{{u.coins}} coins {% if FEATURES['MARSEYBUX'] %} {{u.marseybux}} marseybux {% endif %} {% if PERMS['USER_FOLLOWS_VISIBLE'] == 0 or (v and v.admin_level >= PERMS['USER_FOLLOWS_VISIBLE']) -%} {{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}} follows {{u.follow_count}} user{{'s' if u.follow_count != 1 else ''}} {%- endif %}
joined {{u.created_date}} {% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
last active {{u.last_active_date}} {%- endif %}
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%} {% if u.bio_html and u.can_see_my_shit %}
{{u.bio_html | safe}}
{% endif %} {% if u.friends_html and u.can_see_my_shit %}

Friends:

{{u.friends_html | safe}}
{% endif %} {% if u.enemies_html and u.can_see_my_shit %}

Enemies:

{{u.enemies_html | safe}}
{% endif %} {%- endif %} {% if u.received_awards and FEATURES['AWARDS'] %}

Awards received

{% for a in u.received_awards %} x{{a['count']}} {% endfor %}
{% endif %} {% if u.moderated_subs %}

Moderator of

{% for a in u.moderated_subs %} /h/{{a}} {% endfor %}
{% endif %}
{% for b in u.badges %} {% if b.url %} {{b.name}} {% else %} {{b.name}} {% endif %} {% endfor %}
{% if v and v.id == u.id %} Edit Profile {% endif %} {% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %} {% endif %} {% if v and v.id == u.id %}
{% if v.profile_background -%}
{%- endif %}
{% else %}
{% endif %} {% if v and v.id != u.id %} {% if FEATURES['USERS_SUICIDE'] -%} {%- endif %} {% if FEATURES['MARSEYBUX'] -%} {%- endif %} {% endif %}
{% if v and v.id != u.id %}
{{macros.file_input('file-upload-mobile', True)}}
{{u.username}} will receive 0 coins
{{u.username}} will receive 0 marseybux
{{userpage_admintools.userAdminTools('mobile')}} {% endif %}

User ID: {{u.id}}

Coins spent: {{u.coins_spent}}

True score: {{u.truescore}}

Winnings: {{u.winnings}}

= hats_total %}class="profile-owned-all-hats"{% endif %}>{{u.num_of_owned_hats}} / {{hats_total}} hats owned ({{hats_owned_percent}})

{% if u.is_private %}

User has private mode enabled

{% endif %} {% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %} {% if v.admin_level >= PERMS['USER_LINK'] %} {{alts|length}} Alt{{macros.plural(alts|length)}}: {% else %} {{alts|length}} Alt{{macros.plural(alts|length)}}: {% endif %} {% endif %}
{% endblock %}