rDrama/files/templates/user_in_table.html

17 lines
1.0 KiB
HTML

{% if user %}
{% if not can_see(v, user) and request.path != '/shop/hats' and not request.path.startswith('/emojis/') %}
<hideme></hideme>
{% else %}
{%- include 'admin/shadowbanned_tooltip.html' -%}
<a {% if not user.earlylife %}class="unbreakable"{% endif %} data-sort="{{user.username.lower()}}" style="color:#{{user.name_color}};font-weight:bold" href="/@{{user.username}}">
<div class="profile-pic-20-wrapper mb-2">
<img loading="lazy" src="{{user.profile_url}}" class="pp20">
{% if user.hat_active(v)[0] -%}
<img class="profile-pic-20-hat hat" loading="lazy" src="{{user.hat_active(v)[0]}}?x=8" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.hat_active(v)[1]}}">
{%- endif %}
</div>
<span {% if user.earlylife %}style="word-break:break-word!important"{% endif %} {% if user.patron %}class="patron" style="background-color:#{{user.name_color}}"{% endif %} {% if user.pride_username(v) %}pride_username{% endif %}>{{user.user_name}}</span>
</a>
{% endif %}
{% endif %}