rDrama/files/templates/user_in_table.html

13 lines
737 B
HTML
Raw Normal View History

{%- include 'admin/shadowbanned_tooltip.html' -%}
2022-12-19 20:55:52 +00:00
{% if user %}
<a data-sort-key="{{user.username.lower()}}" style="color:#{{user.name_color}};font-weight:bold" href="/@{{user.username}}">
2023-02-24 06:31:06 +00:00
<div class="profile-pic-20-wrapper mb-2 {% if request.path != '/ping_groups' %}mr-1 float-left{% endif %}">
2022-10-29 21:42:30 +00:00
<img loading="lazy" src="{{user.profile_url}}" class="pp20">
2022-12-24 22:21:49 +00:00
{% if user.hat_active(v)[0] -%}
<img class="profile-pic-20-hat hat" loading="lazy" src="{{user.hat_active(v)[0]}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.hat_active(v)[1]}}">
2022-09-05 03:01:06 +00:00
{%- endif %}
</div>
<span {% if user.patron %}class="patron" style="background-color:#{{user.name_color}}"{% endif %}>{{user.user_name}}</span>
</a>
2022-12-19 20:55:52 +00:00
{% endif %}