filter user too

pull/225/head
Aevann 2024-03-09 10:01:09 +02:00
parent ed98e549f1
commit b0dd0f0783
1 changed files with 10 additions and 8 deletions

View File

@ -60,14 +60,16 @@
</div> </div>
</a> </a>
<div class="d-flex align-items-center"> <div class="d-flex align-items-center">
<span class="rounded"> <a href="{% if hole %}/h/{{hole}}{% endif %}/log?{{single_user_url}}={{ma.user.username}}{% if type %}&kind={{type}}{% endif %}">
<div class="profile-pic-35-wrapper"> <span class="rounded">
<img loading="lazy" src="{{ma.user.profile_url}}" alt="avatar" class="profile-pic-35"> <div class="profile-pic-35-wrapper">
{% if ma.user.hat_active(v)[0] -%} <img loading="lazy" src="{{ma.user.profile_url}}" alt="avatar" class="profile-pic-35">
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active(v)[0]}}?x=8" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_active(v)[1]}}"> {% if ma.user.hat_active(v)[0] -%}
{%- endif %} <img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active(v)[0]}}?x=8" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_active(v)[1]}}">
</div> {%- endif %}
</span> </div>
</span>
</a>
<div class="text-muted pl-3"> <div class="text-muted pl-3">
<div> <div>
<a href="{{ma.user.url}}" class="font-weight-bold text-black" target="_self">@{{ma.user.username}}</a> <a href="{{ma.user.url}}" class="font-weight-bold text-black" target="_self">@{{ma.user.username}}</a>