forked from rDrama/rDrama
fix
parent
0ed17ac268
commit
357fe11bf0
|
@ -52,15 +52,19 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% if v and v.username == u.username %}
|
{% if v and v.username == u.username %}
|
||||||
<div class="ml-auto">
|
<ul class="ml-auto flex flex-row flex-wrap gap-2">
|
||||||
{% for b in u.badges %}
|
{% for b in u.badges %}
|
||||||
|
<li>
|
||||||
{% if b.url %}
|
{% if b.url %}
|
||||||
<a rel="nofollow noopener noreferrer" href="{{b.url}}"><img class="w-5 h-5 object-contain" loading="lazy" src="{{b.path}}" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="{{b.name}} - {{b.text}}"></a>
|
<a rel="nofollow noopener noreferrer" href="{{b.url}}">
|
||||||
|
<img class="flex-shrink-0 w-8 h-8 object-contain" loading="lazy" src="{{b.path}}" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="{{b.name}} - {{b.text}}">
|
||||||
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img class="w-5 h-5 object-contain" loading="lazy" src="{{b.path}}" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="{{b.name}} - {{b.text}}">
|
<img class="flex-shrink-0 w-8 h-8 object-contain" loading="lazy" src="{{b.path}}" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="{{b.name}} - {{b.text}}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue