2022-12-09 03:35:28 +00:00
{% 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 '' %}
2022-12-25 05:08:07 +00:00
{% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %}
2023-01-25 02:51:48 +00:00
{% set alts = get_alt_graph(u.id) %}
2022-12-25 05:08:07 +00:00
{% endif %}
2023-05-16 03:41:45 +00:00
{% set ns = namespace() %}
2022-12-09 03:35:28 +00:00
{% block desktopUserBanner %}
< div class = "row d-mob-none" >
< div class = "col px-0" >
< div class = "jumbotron jumbotron-fluid jumbotron-guild d-mob-none" { % if FEATURES [ ' USERS_PROFILE_BANNER ' ] % } style = "background-image: url({{u.banner_url}})" { % endif % } >
< div class = "jumbotron-overlay" > < / div >
< div class = "w-100 my-3" >
< div class = "container-fluid nobackground" >
< div class = "d-md-flex text-center text-md-left" >
2022-12-24 22:21:49 +00:00
< div id = "profile--pfp" { % if u . hat_active ( v ) [ 0 ] % } class = "profile--pfp--hat hat" { % endif % } >
2023-03-11 07:11:58 +00:00
< a rel = "nofollow noopener" href = "{% if u.highres and u.can_see_my_shit %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" class = "profile-pic-100-wrapper" >
< img data-nonce = "{{g.nonce}}" data-onclick = "expandImage('{% if u.highres and u.can_see_my_shit %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" loading = "lazy" src = "{{u.profile_url}}" class = "profile-pic profile-pic-100 mb-5" >
2022-12-24 22:21:49 +00:00
{% if u.hat_active(v)[0] -%}
2023-06-29 20:14:30 +00:00
< img data-nonce = "{{g.nonce}}" data-onclick = "expandImage('{% if u.highres and u.can_see_my_shit %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class = "profile-pic-100-hat hat" loading = "lazy" src = "{{u.hat_active(v)[0]}}?x=6" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{u.hat_active(v)[1]}}" >
2022-12-09 03:35:28 +00:00
{%- endif %}
< / a >
< / div >
< div id = "profilestuff" class = "ml-3 w-100" >
{{userpage_admintools.userBanBlock('desktop')}}
< div class = "d-flex align-items-center mt-1 mb-2" >
< 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 % } > {{u.user_name}}< / span > < / h3 >
2023-06-06 19:07:12 +00:00
{% if u.can_see_my_shit and u.username != u.original_username %}
2023-05-16 03:41:45 +00:00
{% set ns.og_usernames = 'Original Usernames:< br > @' ~ u.original_username %}
{% if u.prelock_username and u.prelock_username != u.original_username %}
{% set ns.og_usernames = ns.og_usernames + '< br > @' ~ u.prelock_username %}
{% 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 >
2022-12-09 03:35:28 +00:00
{% endif %}
2023-05-03 15:29:31 +00:00
{% if FEATURES['PATRON_ICONS'] and u.patron > 1 %}
2023-05-16 00:25:31 +00:00
< img loading = "lazy" src = "{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=10" class = "ml-3 patron-img" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{u.patron_tooltip}}" alt = "{{u.patron_tooltip}}" >
2022-12-09 03:35:28 +00:00
{% endif %}
{% if FEATURES['HOUSES'] and u.house %}
2023-06-29 20:14:30 +00:00
< img loading = "lazy" id = "profile--house" src = "{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/houses/{{u.house}}.webp?x=6" class = "ml-3 house-img" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "House {{u.house}}" alt = "House {{u.house}}" >
2022-12-09 03:35:28 +00:00
{% endif %}
{% if u.verified %}
< span id = "profile--verified" > < i class = "fas fa-badge-check align-middle ml-2 {% if u.verified=='Glowiefied' %}glow{% endif %}" style = "color:{% if u.verifiedcolor %}#{{u.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{u.verified}}" > < / i > < / span >
{% endif %}
{% if u.admin_level >= PERMS['ADMIN_MOP_VISIBLE'] %}
< span id = "profile--mop" >
< i class = "fas fa-broom text-admin align-middle ml-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Admin" > < / i >
< / span >
{% endif %}
{% if v and v.id != u.id and v.has_follower(u) %}
< span class = "followsyou badge badge-secondary text-small align-middle ml-2" id = "profile--follows-you" > Follows you< / span >
{% endif %}
< / div >
2023-03-11 07:11:58 +00:00
{% if FEATURES['PRONOUNS'] and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< p class = "font-weight-bolder" id = "profile--pronouns" style = "color: #{{u.titlecolor}}" > {{u.pronouns}}< / p >
{% endif %}
2023-03-11 07:11:58 +00:00
{% if u.customtitle and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< p class = "font-weight-bolder" id = "profile--flair" style = "color: #{{u.titlecolor}}" > {{u.customtitle | safe}}< / p >
{% endif %}
2023-01-01 11:36:20 +00:00
2022-12-09 03:35:28 +00:00
{% if v and (v.id == u.id or v.admin_level >= PERMS['USER_VOTERS_VISIBLE']) -%}
< div class = "font-weight-bolder mb-2" id = "profile--simphate" >
2023-06-29 21:04:59 +00:00
< a class = "mr-1" href = "/@{{u.username}}/views" > Profile Views< / a > |
< a class = "mx-1" href = "/@{{u.username}}/upvoters" > Simps< / a > |
< a class = "mx-1" href = "/@{{u.username}}/downvoters" > Haters< / a > |
< a class = "mx-1" href = "/@{{u.username}}/upvoting" > Simps For< / a > |
< a class = "mx-1" href = "/@{{u.username}}/downvoting" > Hates< / a > |
< a class = "mx-1" href = "/@{{u.username}}/voted/posts" > Voted< / a >
2022-12-09 03:35:28 +00:00
{%- endif %}
2023-06-29 21:04:59 +00:00
< div class = "font-weight-bolder mb-1" >
< div class = "my-2" >
{% if PERMS['USER_FOLLOWS_VISIBLE'] == 0 or (v and v.admin_level >= PERMS['USER_FOLLOWS_VISIBLE']) -%}
2023-06-29 21:07:13 +00:00
< a class = "mr-1" href = "/@{{u.username}}/followers" id = "profile--followers" > {{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}< / a > |
2023-06-29 21:04:59 +00:00
< a class = "mx-1" href = "/@{{u.username}}/following" id = "profile--following" > follows {{u.follow_count}} user{{'s' if u.follow_count != 1 else ''}}< / a > |
< a class = "mx-1" href = "/@{{u.username}}/blockers" id = "profile--blockers" > {{u.blocking_count}} blocker{{'s' if u.blocking_count != 1 else ''}}< / a > |
< a class = "mx-1" href = "/@{{u.username}}/blocking" id = "profile--blocking" > blocks {{u.block_count}} user{{'s' if u.block_count != 1 else ''}}< / a >
{%- endif %}
< / div >
2022-12-09 03:35:28 +00:00
< span id = "profile-coins-amount" > {{u.coins}}< / span >
2023-01-27 17:55:25 +00:00
< img loading = "lazy" alt = "coins" class = "ml-1 mb-1 mr-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Coins" height = "20" src = "{{'coins.webp' | asset_siteimg}}" >
2022-12-09 03:35:28 +00:00
{% if FEATURES['MARSEYBUX'] %}
< span id = "profile-bux-amount" > {{u.marseybux}}< / span >
2023-06-29 20:14:30 +00:00
< img loading = "lazy" alt = "marseybux" class = "ml-1 mb-1 mr-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Marseybux" height = "20" width = "46" src = "{{SITE_FULL_IMAGES}}/i/marseybux.webp?x=6" >
2022-12-09 03:35:28 +00:00
{% endif %}
2023-06-29 21:04:59 +00:00
< / div >
2022-12-09 03:35:28 +00:00
2023-06-29 21:04:59 +00:00
< span id = "profile--joined" > joined < span id = "profile--joined--time" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-nonce = "{{g.nonce}}" data-onmouseover = "timestamp(this, '{{u.created_utc}}')" > {{u.created_date}}< / span > < / span >
2022-12-09 03:35:28 +00:00
2023-06-29 21:04:59 +00:00
{% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
< span id = "profile--lastactive" class = "ml-2" > last active < span id = "profile--lastactive--time" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-nonce = "{{g.nonce}}" data-onmouseover = "timestamp(this, '{{u.last_active}}')" > {{u.last_active_date}}< / span > < / span >
{%- endif %}
< / div >
2022-12-09 03:35:28 +00:00
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
2023-03-11 07:11:58 +00:00
{% if u.bio_html and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< div class = "text-muted font-weight-bolder mt-1" id = "profile--bio" > {{u.bio_html | safe}}< / div >
{% else %}
< p class = "text-muted" id = "profile--bio" > No bio...< / p >
{% endif %}
2023-03-11 07:11:58 +00:00
{% if u.friends_html and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< p class = "text-muted font-weight-bold" > Friends:< / p >
< div id = "profile--friends" > {{u.friends_html | safe}}< / div >
{% endif %}
2023-03-11 07:11:58 +00:00
{% if u.enemies_html and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< p class = "text-muted font-weight-bold" > Enemies:< / p >
< div id = "profile--enemies" > {{u.enemies_html | safe}}< / div >
{% endif %}
{%- endif %}
{% if u.received_awards and FEATURES['AWARDS'] %}
< div class = "text-white rounded p-2 mb-3" id = "profile--awards" style = "background-color: rgba(50, 50, 50, 0.6); width: 30%;" >
< p class = "text-uppercase my-0" style = "font-weight: bold; font-size: 12px;" > Awards received< / p >
{% for a in u.received_awards %}
< span class = "d-inline-block mx-1 profile--awards--award" >
< i class = "{{a['icon']}} {{a['color']}} fa-fw" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{a['title']}} Awards received" > < / i >
x{{a['count']}}
< / span >
{% endfor %}
< / div >
{% endif %}
{% if u.moderated_subs %}
< div class = "text-white rounded p-2 mb-3" id = "profile--holes" style = "background-color: rgba(50, 50, 50, 0.6); width: 30%;" >
< p class = "text-uppercase my-0 pb-1" style = "font-weight: bold; font-size: 12px;" > Moderator of< / p >
2023-06-24 17:16:24 +00:00
{% for i in u.moderated_subs %}
2022-12-09 03:35:28 +00:00
< span class = "d-inline-block mx-1" >
2023-06-24 17:16:24 +00:00
< a href = "/h/{{i}}" > /h/{{i}}< / a >
< / span >
{% endfor %}
< / div >
{% endif %}
2023-06-24 17:51:17 +00:00
{% if u.group_memberships %}
2023-06-24 17:16:24 +00:00
< div class = "text-white rounded p-2 mb-3" id = "profile--groups" style = "background-color: rgba(50, 50, 50, 0.6); width: 30%;" >
< p class = "text-uppercase my-0 pb-1" style = "font-weight: bold; font-size: 12px;" > Member of< / p >
2023-06-24 17:51:17 +00:00
{% for i in u.group_memberships %}
2023-06-24 17:16:24 +00:00
< span class = "d-inline-block mx-1" >
< a href = "/!{{i}}" > !{{i}}< / a >
2022-12-09 03:35:28 +00:00
< / span >
{% endfor %}
< / div >
{% endif %}
< div class = "d-flex justify-content-between align-items-center" >
< div >
{% if v and v.id != u.id %}
< div id = "profile--actionbtns" >
< div class = "actionbtns mb-3" >
2022-12-30 12:14:18 +00:00
< button type = "button" id = "button-unsub" class = "btn btn-secondary {% if not is_following %}d-none{% endif %}" data-nonce = "{{g.nonce}}" data-onclick = "postToastSwitch(this,'/unfollow/{{u.username}}','button-unsub','button-sub','d-none')" > Unfollow< / button >
2022-12-09 03:35:28 +00:00
2022-12-30 12:14:18 +00:00
< button type = "button" id = "button-sub" class = "btn btn-primary {% if is_following or u.is_blocked %}d-none{% endif %}" data-nonce = "{{g.nonce}}" data-onclick = "postToastSwitch(this,'/follow/{{u.username}}','button-unsub','button-sub','d-none')" > Follow< / button >
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "toggleElement('message', 'input-message')" > Message< / button >
2022-12-09 03:35:28 +00:00
{% if FEATURES['USERS_SUICIDE'] -%}
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "postToastSwitch(this,'/@{{u.username}}/suicide')" > Get Them Help< / button >
2022-12-09 03:35:28 +00:00
{%- endif %}
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "toggleElement('coin-transfer', 'coin-transfer-amount')" > Gift Coins< / button >
2022-12-09 03:35:28 +00:00
{% if FEATURES['MARSEYBUX'] -%}
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "toggleElement('bux-transfer', 'bux-transfer-amount')" > Gift Marseybux< / button >
2022-12-09 03:35:28 +00:00
{%- endif %}
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "postToastReload(this,'/settings/block?username={{u.username}}')" > Block< / button >
2022-12-09 03:35:28 +00:00
< / div >
< / div >
2022-12-30 12:52:59 +00:00
< form class = "d-none toggleable" id = "message" action = "/@{{u.username}}/message" data-nonce = "{{g.nonce}}" data-onsubmit = "sendMessage(this)" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2023-02-27 15:02:35 +00:00
< textarea autocomplete = "off" id = "input-message" form = "message" name = "message" rows = "3" minlength = "1" maxlength = "10000" class = "file-ta form-control b2 mt-1" data-preview = "message-preview" data-nonce = "{{g.nonce}}" data-oninput = "markdown(this)" > < / textarea >
2023-01-23 09:58:38 +00:00
< button type = "button" class = "btn btn-secondary format d-inline-block m-0 py-2 fas fa-smile-beam" data-nonce = "{{g.nonce}}" data-onclick = "loadEmojis('input-message')" data-bs-toggle = "modal" data-bs-target = "#emojiModal" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Add Emoji" > < / button >
2023-05-12 15:27:46 +00:00
{{macros.file_input('file-upload-macro', False, not get_setting('dm_media'))}}
2023-01-23 09:58:38 +00:00
2023-03-07 00:21:08 +00:00
< input type = "submit" data-nonce = "{{g.nonce}}" data-onclick = "remove_dialog()" value = "Submit" class = "btn btn-primary fl-r" >
2022-12-09 03:35:28 +00:00
< / form >
< div id = "message-preview" class = "preview mt-2" > < / div >
< div class = "d-none mt-3 toggleable" id = "coin-transfer" >
2022-12-30 12:14:18 +00:00
< input autocomplete = "off" id = "coin-transfer-amount" class = "form-control" name = "amount" type = "number" data-nonce = "{{g.nonce}}" data-oninput = "updateTax()" >
2022-12-09 03:35:28 +00:00
< input autocomplete = "off" id = "coin-transfer-reason" maxlength = 200 type = "text" class = "form-control" name = "reason" placeholder = "Gift message! (optional)" >
< div > {{u.username}} will receive < span id = "coins-transfer-taxed" > 0< / span > coins< / div >
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary mt-2 mb-3" data-nonce = "{{g.nonce}}" data-onclick = "transferCoins(this)" > Gift< / button >
2022-12-09 03:35:28 +00:00
< / div >
< div class = "d-none mt-3 toggleable" id = "bux-transfer" >
2022-12-30 12:14:18 +00:00
< input autocomplete = "off" id = "bux-transfer-amount" class = "form-control" name = "amount" type = "number" data-nonce = "{{g.nonce}}" data-oninput = "updateBux()" >
2022-12-09 03:35:28 +00:00
< input autocomplete = "off" id = "bux-transfer-reason" type = "text" class = "form-control" name = "reason" placeholder = "Gift message! (optional)" >
< div > {{u.username}} will receive < span id = "bux-transfer-taxed" > 0< / span > marseybux< / div >
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary mt-2 mb-3" data-nonce = "{{g.nonce}}" data-onclick = "transferBux(this)" > Gift< / button >
2022-12-09 03:35:28 +00:00
< / div >
{{userpage_admintools.userAdminTools('desktop')}}
{% endif %}
< div class = "actionbtns" >
{% if v and v.id == u.id %}
2022-12-10 15:22:37 +00:00
< a href = "/settings/personal" class = "btn btn-secondary" > < i class = "fas fa-edit mr-1" > < / i > Edit Profile< / a >
{% endif %}
2023-01-01 11:36:20 +00:00
2022-12-10 15:22:37 +00:00
{% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
2023-05-13 03:46:11 +00:00
< button id = "toggle-anthem" type = "button" class = "btn btn-secondary" data-nonce = "{{g.nonce}}" data-onclick = "toggle()" { % if v . id = = u . id % } style = "margin-bottom:0!important;padding:0.3rem 0.75rem!important" { % endif % } > < i class = "fas fa-music mr-1" > < / i > Profile Anthem< / button >
2022-12-10 15:22:37 +00:00
{% endif %}
2022-12-09 03:35:28 +00:00
2022-12-10 15:22:37 +00:00
{% if v and v.id == u.id %}
2023-01-01 11:36:20 +00:00
< form id = "upload-profile-background" action = "/settings/profile_background" method = "post" enctype = "multipart/form-data" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2022-12-30 07:47:29 +00:00
< label class = "btn btn-primary" for = "upload-profile-background-file" style = "margin-bottom:0!important" >
2023-01-01 11:36:20 +00:00
< i class = "fas fa-image mr-1" > < / i >
2022-12-09 03:35:28 +00:00
{% if v.profile_background -%}
2023-06-30 15:33:34 +00:00
{{v.profile_background.split('/')[-1]}}
2022-12-09 03:35:28 +00:00
{% else -%}
Upload Profile Background
{% endif %}
< / label >
2023-01-01 09:42:23 +00:00
< input autocomplete = "off" id = "upload-profile-background-file" accept = "image/*" , type = "file" name = "file" data-nonce = "{{g.nonce}}" onchange_submit hidden >
2022-12-09 03:35:28 +00:00
< / form >
{% if v.profile_background -%}
< div class = "d-flex mb-3" >
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-danger" data-nonce = "{{g.nonce}}" data-onclick = "postToastReload(this,'/settings/profile_background', 'DELETE')" >
2022-12-09 03:35:28 +00:00
< i class = "fas fa-image-slash mr-1" > < / i >
Remove current background
< / button >
< / div >
{%- endif %}
{% endif %}
< / div >
2023-01-01 11:36:20 +00:00
2023-05-03 17:26:44 +00:00
< div class = "mt-3" id = "profile--info" >
2022-12-09 03:35:28 +00:00
< p id = "profile--info--id" > User ID: {{u.id}}< / p >
< p id = "profile--info--truescore" > True score: {{u.truescore}}< / p >
2023-05-03 23:50:56 +00:00
< p id = "profile--info--casino-winnings" > Casino winnings: {{u.winnings}}< / p >
< p id = "profile--info--lottery-winnings" > Lottery winnings: {{u.total_lottery_winnings}}< / p >
2022-12-09 03:35:28 +00:00
< p id = "profile--info--hats-owned" { % if u . num_of_owned_hats > = hats_total %}class="profile-owned-all-hats"{% endif %}>{{u.num_of_owned_hats}} / {{hats_total}} hats owned ({{hats_owned_percent}})< / p >
2023-05-03 17:26:44 +00:00
< p id = "profile--info--spent" > Coins spent on awards: {{u.coins_spent}}< / p >
< p id = "profile--info--spent" > Coins spent on hats: {{u.coins_spent_on_hats}}< / p >
2023-05-11 13:57:49 +00:00
2023-05-12 21:40:51 +00:00
{% if v and (v.id == u.id or v.admin_level >= PERMS['VIEW_PATRONS']) %}
2023-05-14 16:40:41 +00:00
< p id = "profile--info--lifetime-donated" > Lifetime donated: ${{u.lifetime_donated}} (shown to you only)< / p >
2023-05-11 13:57:49 +00:00
{% endif %}
2023-05-14 00:01:00 +00:00
< p id = "profile--info--discount" > Total award discount: {{u.formatted_discount}}< / p >
2023-05-11 13:59:49 +00:00
{% if u.is_private %}
< p id = "profile--info--private" > User has private mode enabled< / p >
{% endif %}
2022-12-09 03:35:28 +00:00
{% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %}
2023-06-29 20:14:24 +00:00
{% if v.admin_level >= PERMS['USER_LINK'] %}
< span id = "profile--alts" > < a href = "/@{{u.username}}/alts" > {{alts|length}} Alt{{macros.plural(alts|length)}}< / a > :< / span >
2022-12-09 03:35:28 +00:00
{% else %}
2023-06-29 20:14:24 +00:00
< span id = "profile--alts" > {{alts|length}} Alt{{macros.plural(alts|length)}}:< / span >
2023-06-28 14:10:30 +00:00
{% endif %}
2023-06-29 20:14:24 +00:00
< ul id = "profile--alts-list" >
{% if u.can_see_my_shit %}
{% for account in alts %}
< li > < a href = "{{account.url}}" > @{{account.username}}< / a > {% if account._is_manual %} [m]{% endif %}< / li >
{% endfor %}
{% endif %}
< / ul >
2022-12-09 03:35:28 +00:00
{% endif %}
< / div >
< / div >
< / div >
{% if FEATURES['BADGES'] -%}
< div id = "profile--badges" >
2023-05-12 21:04:26 +00:00
{% for b in u.ordered_badges %}
2022-12-09 03:35:28 +00:00
{% if b.url %}
< a class = "contain" rel = "nofollow noopener" href = "{{b.url}}" >
2023-03-15 04:05:59 +00:00
< img alt = "{{b.name}}" width = 55 height = 60 loading = "lazy" src = "{{b.path}}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{b.text}}" { % if b . until % } data-until = "{{b.until}}" data-nonce = "{{g.nonce}}" data-onmouseover = "badge_timestamp(this)" { % endif % } >
2022-12-09 03:35:28 +00:00
< / a >
{% else %}
2023-03-15 04:05:59 +00:00
< img class = "contain" alt = "{{b.name}}" width = 55 height = 60 loading = "lazy" src = "{{b.path}}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{b.text}}" { % if b . until % } data-until = "{{b.until}}" data-nonce = "{{g.nonce}}" data-onmouseover = "badge_timestamp(this)" { % endif % } >
2022-12-09 03:35:28 +00:00
{% endif %}
{% endfor %}
< / div >
{%- endif %}
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
{% endblock %}
{% block mobileUserBanner %}
< div class = "container-fluid pb-0 text-center bg-white d-md-none" style = "margin-top:-6px;border-radius:0!important;" >
< div class = "row" >
< div class = "col px-0" >
< a rel = "nofollow noopener" href = "{{u.banner_url}}" >
2023-03-16 04:50:38 +00:00
< img loading = "lazy" alt = "@{{u.username}}'s banner" data-nonce = "{{g.nonce}}" data-onclick = "expandImage()" src = "{{u.banner_url}}" width = 100% style = "object-fit:cover" >
2022-12-09 03:35:28 +00:00
< / a >
< / div >
< / div >
< div class = "row border-bottom" >
< div class = "col" >
< div style = "margin-top: -34px;" id = "profile-mobile--pfp" >
2023-03-11 07:11:58 +00:00
< a rel = "nofollow noopener" href = "{% if u.highres and u.can_see_my_shit %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" class = "profile-pic-65-wrapper" >
< img data-nonce = "{{g.nonce}}" data-onclick = "expandImage('{% if u.highres and u.can_see_my_shit %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" loading = "lazy" src = "{{u.profile_url}}" class = "profile-pic-65 bg-white mb-2" >
2022-12-24 22:21:49 +00:00
{% if u.hat_active(v)[0] -%}
2023-06-29 20:14:30 +00:00
< img data-nonce = "{{g.nonce}}" data-onclick = "expandImage('{% if u.highres and u.can_see_my_shit %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class = "profile-pic-65-hat hat" loading = "lazy" src = "{{u.hat_active(v)[0]}}?x=6" >
2022-12-09 03:35:28 +00:00
{%- endif %}
< / a >
< / div >
< div class = "mt-n3 py-3" >
{{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 % } > {{u.user_name}}< / span > < / h5 >
2023-06-06 19:07:12 +00:00
{% if u.can_see_my_shit and u.username != u.original_username %}
2022-12-09 03:35:28 +00:00
< span id = "profile-mobile--origname" >
2023-05-16 03:41:45 +00:00
< 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 >
2022-12-09 03:35:28 +00:00
< / span >
{% endif %}
2023-05-03 15:29:31 +00:00
{% if FEATURES['PATRON_ICONS'] and u.patron > 1 %}
2023-05-16 00:25:31 +00:00
< img loading = "lazy" src = "{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=10" class = "ml-2 patron-img" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{u.patron_tooltip}}" alt = "{{u.patron_tooltip}}" >
2022-12-09 03:35:28 +00:00
{% endif %}
{% if FEATURES['HOUSES'] and u.house %}
2023-06-29 20:14:30 +00:00
< img loading = "lazy" id = "profile-mobile--house" src = "{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/houses/{{u.house}}.webp?x=6" class = "ml-2 house-img" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "House {{u.house}}" alt = "House {{u.house}}" >
2022-12-09 03:35:28 +00:00
{% endif %}
{% if u.verified %}
< span id = "profile-mobile--verified" > < i class = "fas fa-badge-check align-middle ml-2 {% if u.verified=='Glowiefied' %}glow{% endif %}" style = "color:{% if u.verifiedcolor %}#{{u.verifiedcolor}}{% else %}#1DA1F2{% endif %}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{u.verified}}" > < / i > < / span >
{% endif %}
{% if u.admin_level >= PERMS['ADMIN_MOP_VISIBLE'] %}
< span id = "profile-mobile--mop" >
< i class = "fas fa-broom text-admin align-middle ml-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Admin" > < / i >
< / span >
{% endif %}
{% if v and v.id != u.id and v.has_follower(u) %}
< span class = "followsyou badge badge-secondary text-small align-middle mx-1" id = "profile-mobile--follows-you" > Follows you< / span >
{% endif %}
2023-03-11 07:11:58 +00:00
{% if FEATURES['PRONOUNS'] and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< p style = "color: #{{u.titlecolor}}" id = "profile-mobile--pronouns" > {{u.pronouns}}< / p >
{% endif %}
2023-03-11 07:11:58 +00:00
{% if u.customtitle and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< p style = "color: #{{u.titlecolor}}" id = "profile-mobile--flair" > {{u.customtitle | safe}}< / p >
{% endif %}
{% if v and (v.id == u.id or v.admin_level >= PERMS['USER_VOTERS_VISIBLE']) -%}
< div class = "font-weight-bolder mb-2" id = "profile-mobile--simphate" >
2023-06-29 21:04:59 +00:00
< a class = "mr-1" href = "/@{{u.username}}/views" > Profile Views< / a > |
< a class = "mx-1" href = "/@{{u.username}}/upvoters" > Simps< / a > |
< a class = "mx-1" href = "/@{{u.username}}/downvoters" > Haters< / a > |
< a class = "mx-1" href = "/@{{u.username}}/upvoting" > Simps For< / a > |
< a class = "mx-1" href = "/@{{u.username}}/downvoting" > Hates< / a > |
< a class = "mx-1" href = "/@{{u.username}}/voted/posts" > Voted< / a >
2022-12-09 03:35:28 +00:00
< / div >
{%- endif %}
2023-06-29 21:08:27 +00:00
< div class = "font-weight-bolder" >
2023-06-30 15:48:25 +00:00
< div >
2023-06-29 21:04:59 +00:00
{% if PERMS['USER_FOLLOWS_VISIBLE'] == 0 or (v and v.admin_level >= PERMS['USER_FOLLOWS_VISIBLE']) -%}
2023-06-30 15:48:25 +00:00
< a class = "mr-1" href = "/@{{u.username}}/followers" id = "profile-mobile--followers" > {{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}< / a >
2023-06-29 21:04:59 +00:00
2023-06-30 15:48:25 +00:00
< a class = "mx-1" href = "/@{{u.username}}/following" id = "profile-mobile--following" > follows {{u.follow_count}} user{{'s' if u.follow_count != 1 else ''}}< / a >
{%- endif %}
< / div >
2023-06-29 21:04:59 +00:00
2023-06-30 15:48:25 +00:00
< div class = "mb-2" >
< a class = "mr-1" href = "/@{{u.username}}/blockers" id = "profile-mobile--blockers" > {{u.blocking_count}} blocker{{'s' if u.blocking_count != 1 else ''}}< / a >
2023-06-29 21:04:59 +00:00
2023-06-30 15:48:25 +00:00
< a class = "mx-1" href = "/@{{u.username}}/blocking" id = "profile-mobile--blocking" > blocks {{u.block_count}} user{{'s' if u.block_count != 1 else ''}}< / a >
2023-06-29 21:04:59 +00:00
< / div >
2022-12-09 03:35:28 +00:00
< span id = "profile-coins-amount-mobile" class = "font-weight-bold" > {{u.coins}}< / span >
2023-01-27 17:55:25 +00:00
< img loading = "lazy" alt = "coins" class = "ml-1 mb-1 mr-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Coins" height = "15" src = "{{'coins.webp' | asset_siteimg}}" >
2022-12-09 03:35:28 +00:00
{% if FEATURES['MARSEYBUX'] %}
< span id = "profile-bux-amount-mobile" class = "font-weight-bold" > {{u.marseybux}}< / span >
2023-06-29 20:14:30 +00:00
< img loading = "lazy" alt = "marseybux" class = "ml-1 mb-1 mr-2" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Marseybux" height = "15" width = "35" src = "{{SITE_FULL_IMAGES}}/i/marseybux.webp?x=6" >
2022-12-09 03:35:28 +00:00
{% endif %}
2023-01-01 03:05:09 +00:00
< br > < span id = "profile-mobile--joined" > joined < span id = "profile-mobile--joined--time" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-nonce = "{{g.nonce}}" data-onmouseover = "timestamp(this, '{{u.created_utc}}')" class = "font-weight-bold" > {{u.created_date}}< / span > < / span >
2022-12-09 03:35:28 +00:00
{% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
2023-01-01 03:05:09 +00:00
< br > < span id = "profile-mobile--lastactive" > last active < span id = "profile-mobile--lastactive--time" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-nonce = "{{g.nonce}}" data-onmouseover = "timestamp(this, '{{u.last_active}}')" class = "font-weight-bold" > {{u.last_active_date}}< / span > < / span >
2022-12-09 03:35:28 +00:00
{%- endif %}
< / div >
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
2023-03-11 07:11:58 +00:00
{% if u.bio_html and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< div class = "text-muted text-break" id = "profile-mobile--bio" > {{u.bio_html | safe}}< / div >
{% endif %}
2023-03-11 07:11:58 +00:00
{% if u.friends_html and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< p class = "text-muted font-weight-bold mt-3" > Friends:< / p >
< div id = "profile-mobile--friends" > {{u.friends_html | safe}}< / div >
{% endif %}
2023-03-11 07:11:58 +00:00
{% if u.enemies_html and u.can_see_my_shit %}
2022-12-09 03:35:28 +00:00
< p class = "text-muted font-weight-bold mt-3" > Enemies:< / p >
< div id = "profile-mobile--enemies" > {{u.enemies_html | safe}}< / div >
{% endif %}
{%- endif %}
{% if u.received_awards and FEATURES['AWARDS'] %}
< div class = "text-white rounded p-2 my-3 text-center" id = "profile-mobile--awards" style = "background-color: rgba(50, 50, 50, 0.6);" >
< p class = "text-uppercase my-0" style = "font-weight: bold; font-size: 12px;" > Awards received< / p >
{% for a in u.received_awards %}
< span class = "d-inline-block mx-1 profile-mobile--awards--award" >
< i class = "{{a['icon']}} {{a['color']}} fa-fw" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{a['title']}} Awards received" > < / i >
x{{a['count']}}
< / span >
{% endfor %}
< / div >
{% endif %}
{% if u.moderated_subs %}
< div class = "text-white rounded p-2 mb-3" id = "profile-mobile--holes" style = "background-color: rgba(50, 50, 50, 0.6);" >
< p class = "text-uppercase my-0 pb-1" style = "font-weight: bold; font-size: 12px;" > Moderator of< / p >
2023-06-24 17:16:24 +00:00
{% for i in u.moderated_subs %}
< span class = "d-inline-block mx-1" >
< a href = "/h/{{i}}" > /h/{{i}}< / a >
< / span >
{% endfor %}
< / div >
{% endif %}
2023-06-24 17:51:17 +00:00
{% if u.group_memberships %}
2023-06-24 17:16:24 +00:00
< div class = "text-white rounded p-2 mb-3" id = "profile-mobile--groups" style = "background-color: rgba(50, 50, 50, 0.6);" >
< p class = "text-uppercase my-0 pb-1" style = "font-weight: bold; font-size: 12px;" > Member of< / p >
2023-06-24 17:51:17 +00:00
{% for i in u.group_memberships %}
2022-12-09 03:35:28 +00:00
< span class = "d-inline-block mx-1" >
2023-06-24 17:16:24 +00:00
< a href = "/!{{i}}" > !{{i}}< / a >
2022-12-09 03:35:28 +00:00
< / span >
{% endfor %}
< / div >
{% endif %}
< div class = "mb-3" id = "profile-mobile--badges" >
2023-05-12 21:04:26 +00:00
{% for b in u.ordered_badges %}
2022-12-09 03:35:28 +00:00
{% if b.url %}
< a rel = "nofollow noopener" href = "{{b.url}}" >
2023-03-15 04:05:59 +00:00
< img class = "contain" alt = "{{b.name}}" width = 29.33 height = 32 loading = "lazy" src = "{{b.path}}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{b.text}}" { % if b . until % } data-until = "{{b.until}}" data-nonce = "{{g.nonce}}" data-onmouseover = "badge_timestamp(this)" { % endif % } >
2022-12-09 03:35:28 +00:00
< / a >
{% else %}
2023-03-15 04:05:59 +00:00
< img class = "contain" alt = "{{b.name}}" width = 29.33 height = 32 loading = "lazy" src = "{{b.path}}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "{{b.text}}" { % if b . until % } data-until = "{{b.until}}" data-nonce = "{{g.nonce}}" data-onmouseover = "badge_timestamp(this)" { % endif % } >
2022-12-09 03:35:28 +00:00
{% endif %}
{% endfor %}
< / div >
< div class = "actionbtns" >
{% if v and v.id == u.id %}
2022-12-10 15:22:37 +00:00
< a href = "/settings/personal" class = "btn btn-secondary" > < i class = "fas fa-edit mr-1" > < / i > Edit Profile< / a >
2022-12-09 03:35:28 +00:00
{% endif %}
{% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
2023-05-13 03:46:11 +00:00
< button id = "toggle-anthem-mobile" type = "button" class = "btn btn-secondary" data-nonce = "{{g.nonce}}" data-onclick = "toggle()" { % if v . id = = u . id % } style = "margin-bottom:0!important;padding:0.3rem 0.75rem!important" { % endif % } > < i class = "fas fa-music mr-1" > < / i > Profile Anthem< / button >
2022-12-09 03:35:28 +00:00
{% endif %}
2022-12-30 07:47:29 +00:00
{% if v and v.id == u.id %}
2022-12-09 03:35:28 +00:00
< div >
2023-01-01 11:36:20 +00:00
< form class = "mt-3" id = "upload-profile-background-mobile" action = "/settings/profile_background" method = "post" enctype = "multipart/form-data" >
2023-01-24 05:10:16 +00:00
< input hidden name = "formkey" value = "{{v|formkey}}" >
2023-04-27 13:27:26 +00:00
< label class = "btn btn-primary text-break" for = "upload-profile-background-file-mobile" style = "margin-bottom:0!important" >
2023-01-01 11:36:20 +00:00
< i class = "fas fa-image mr-1" > < / i >
2022-12-09 03:35:28 +00:00
{% if v.profile_background %}
2023-07-01 15:33:06 +00:00
{{v.profile_background.split('/')[-1]}}
2022-12-09 03:35:28 +00:00
{% else %}
Upload Profile Background
{% endif %}
< / label >
2023-01-01 09:42:23 +00:00
< input autocomplete = "off" id = "upload-profile-background-file-mobile" accept = "image/*" , type = "file" name = "file" data-nonce = "{{g.nonce}}" onchange_submit hidden >
2022-12-09 03:35:28 +00:00
< / form >
{% if v.profile_background -%}
2022-12-25 05:38:40 +00:00
< div class = "d-block mt-3" >
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-danger" data-nonce = "{{g.nonce}}" data-onclick = "postToastReload(this,'/settings/profile_background', 'DELETE')" >
2022-12-09 03:35:28 +00:00
< i class = "fas fa-image-slash mr-1" > < / i >
Remove current background
< / button >
< / div >
{%- endif %}
< / div >
2022-12-25 05:38:40 +00:00
{% else %}
2022-12-30 07:47:29 +00:00
< br >
2022-12-09 03:35:28 +00:00
{% endif %}
{% if v and v.id != u.id %}
2022-12-30 12:14:18 +00:00
< button type = "button" id = "button-unsub2" class = "btn btn-secondary {% if not is_following %}d-none{% endif %}" data-nonce = "{{g.nonce}}" data-onclick = "postToastSwitch(this,'/unfollow/{{u.username}}','button-unsub2','button-sub2','d-none')" > Unfollow< / button >
2022-12-09 03:35:28 +00:00
2022-12-30 12:14:18 +00:00
< button type = "button" id = "button-sub2" class = "btn btn-primary {% if is_following or u.is_blocked %}d-none{% endif %}" data-nonce = "{{g.nonce}}" data-onclick = "postToastSwitch(this,'/follow/{{u.username}}','button-unsub2','button-sub2','d-none')" > Follow< / button >
2022-12-09 03:35:28 +00:00
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "toggleElement('message-mobile', 'input-message-mobile')" > Message< / button >
2022-12-09 03:35:28 +00:00
{% if FEATURES['USERS_SUICIDE'] -%}
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "postToastSwitch(this,'/@{{u.username}}/suicide')" > Get Them Help< / button >
2022-12-09 03:35:28 +00:00
{%- endif %}
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "toggleElement('coin-transfer-mobile', 'coin-transfer-amount-mobile')" > Gift Coins< / button >
2022-12-09 03:35:28 +00:00
{% if FEATURES['MARSEYBUX'] -%}
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "toggleElement('bux-transfer-mobile', 'bux-transfer-amount-mobile')" > Gift Marseybux< / button >
2022-12-09 03:35:28 +00:00
{%- endif %}
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary" data-nonce = "{{g.nonce}}" data-onclick = "postToastReload(this,'/settings/block?username={{u.username}}')" > Block< / button >
2022-12-09 03:35:28 +00:00
{% endif %}
< / div >
{% if v and v.id != u.id %}
2023-02-27 15:02:35 +00:00
< form class = "d-none toggleable text-left" id = 'message-mobile' action = "/@{{u.username}}/message" data-nonce = "{{g.nonce}}" data-onsubmit = "sendMessage(this)" >
2023-01-24 05:10:16 +00:00
< input class = "mt-1" hidden name = "formkey" value = "{{v|formkey}}" >
2023-02-27 15:02:35 +00:00
< textarea autocomplete = "off" id = "input-message-mobile" form = "message-mobile" name = "message" rows = "3" minlength = "1" maxlength = "10000" class = "file-ta form-control" data-preview = "message-preview-mobile" data-nonce = "{{g.nonce}}" data-oninput = "markdown(this)" required > < / textarea >
2023-01-24 10:19:20 +00:00
< button type = "button" class = "btn btn-secondary format d-inline-block m-0 py-2 fas fa-smile-beam" data-nonce = "{{g.nonce}}" data-onclick = "loadEmojis('input-message')" data-bs-toggle = "modal" data-bs-target = "#emojiModal" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Add Emoji" > < / button >
2023-02-27 15:02:35 +00:00
{{macros.file_input('file-upload-mobile', True)}}
2023-01-24 10:19:20 +00:00
2023-03-07 00:21:08 +00:00
< input type = "submit" data-nonce = "{{g.nonce}}" data-onclick = "remove_dialog()" value = "Submit" class = "btn btn-primary fl-r" >
2022-12-09 03:35:28 +00:00
< / form >
< div id = "message-preview-mobile" class = "preview my-3" > < / div >
< div class = "d-none mt-3 toggleable" id = "coin-transfer-mobile" >
2022-12-30 12:14:18 +00:00
< input autocomplete = "off" id = "coin-transfer-amount-mobile" class = "form-control" name = "amount" type = "number" data-nonce = "{{g.nonce}}" data-oninput = "updateTax(true)" >
2022-12-09 03:35:28 +00:00
< input autocomplete = "off" id = "coin-transfer-reason-mobile" maxlength = 200 type = "text" class = "form-control" name = "reason" placeholder = "Gift message! (optional)" >
< div > {{u.username}} will receive < span id = "coins-transfer-taxed-mobile" > 0< / span > coins< / div >
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary mt-2 mb-3" data-nonce = "{{g.nonce}}" data-onclick = "transferCoins(this, true)" > Gift< / button >
2022-12-09 03:35:28 +00:00
< / div >
< div class = "d-none mt-3 toggleable" id = "bux-transfer-mobile" >
2022-12-30 12:14:18 +00:00
< input autocomplete = "off" id = "bux-transfer-amount-mobile" class = "form-control" name = "amount" type = "number" data-nonce = "{{g.nonce}}" data-oninput = "updateBux(true)" >
2022-12-09 03:35:28 +00:00
< input autocomplete = "off" id = "bux-transfer-reason-mobile" type = "text" class = "form-control" name = "reason" placeholder = "Gift message! (optional)" >
< div > {{u.username}} will receive < span id = "bux-transfer-taxed-mobile" > 0< / span > marseybux< / div >
2022-12-30 12:14:18 +00:00
< button type = "button" class = "btn btn-primary mt-2 mb-3" data-nonce = "{{g.nonce}}" data-onclick = "transferBux(this, true)" > Gift< / button >
2022-12-09 03:35:28 +00:00
< / div >
{{userpage_admintools.userAdminTools('mobile')}}
{% endif %}
< div id = "profile-mobile--info" >
< p id = "profile-mobile--info--id" > User ID: {{u.id}}< / p >
< p id = "profile-mobile--info--truescore" > True score: {{u.truescore}}< / p >
2023-05-03 23:50:56 +00:00
< p id = "profile-mobile--info--casino-winnings" > Casino winnings: {{u.winnings}}< / p >
< p id = "profile-mobile--info--lottery-winnings" > Lottery winnings: {{u.total_lottery_winnings}}< / p >
2022-12-09 03:35:28 +00:00
< p id = "profile-mobile--info--hats-owned" { % if u . num_of_owned_hats > = hats_total %}class="profile-owned-all-hats"{% endif %}>{{u.num_of_owned_hats}} / {{hats_total}} hats owned ({{hats_owned_percent}})< / p >
2023-05-03 17:26:44 +00:00
< p id = "profile-mobile--info--spent" > Coins spent on awards: {{u.coins_spent}}< / p >
< p id = "profile-mobile--info--spent" > Coins spent on hats: {{u.coins_spent_on_hats}}< / p >
2023-05-11 13:57:49 +00:00
2023-05-12 21:40:51 +00:00
{% if v and (v.id == u.id or v.admin_level >= PERMS['VIEW_PATRONS']) %}
2023-05-14 16:40:41 +00:00
< p id = "profile-mobile--info--lifetime-donated" > Lifetime donated: ${{u.lifetime_donated}} (shown to you only)< / p >
2023-05-11 13:57:49 +00:00
{% endif %}
2023-05-14 00:01:00 +00:00
< p id = "profile-mobile--info--discount" > Total award discount: {{u.formatted_discount}}< / p >
2023-05-11 13:59:49 +00:00
{% if u.is_private %}
< p id = "profile-mobile--info--private" > User has private mode enabled< / p >
{% endif %}
2022-12-09 03:35:28 +00:00
{% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %}
2023-06-29 20:14:24 +00:00
{% if v.admin_level >= PERMS['USER_LINK'] %}
< span id = "profile-mobile--alts" > < a href = "/@{{u.username}}/alts" > {{alts|length}} Alt{{macros.plural(alts|length)}}< / a > :< / span >
2022-12-09 03:35:28 +00:00
{% else %}
2023-06-29 20:14:24 +00:00
< span id = "profile-mobile--alts" > {{alts|length}} Alt{{macros.plural(alts|length)}}:< / span >
2023-06-28 14:10:30 +00:00
{% endif %}
2023-06-29 20:14:24 +00:00
< ul id = "profile-mobile--alts-list" >
{% if u.can_see_my_shit %}
{% for account in alts %}
< li > < a href = "{{account.url}}" > @{{account.username}}< / a > {% if account._is_manual %} [m]{% endif %}< / li >
{% endfor %}
{% endif %}
< / ul >
2022-12-09 03:35:28 +00:00
{% endif %}
< / div >
< / div >
< / div >
< / div >
< / div >
{% endblock %}