display new name, new flair, and chud phrase in tooltips of "namelock" "flairlock" and "chud" awards respectively

pull/211/head
Aevann 2023-10-04 19:49:52 +03:00
parent f416231449
commit 82e9d1fc0c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
{% if a.kind == "emoji" %}
<img alt="{{a.title}} Award given by @{{a.user.username}}" data-bs-toggle="tooltip" loading="lazy" src="{{SITE_FULL_IMAGES}}/e/{{a.note}}.webp" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{a.title}} Award given by @{{a.user.username}}" width="20px">
{% else %}
<i class="{{a.class_list}} px-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{a.title}} Award given by @{{a.user.username}}"></i>
<i class="{{a.class_list}} px-1" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{a.title}} Award given by @{{a.user.username}} {% if a.kind in ['chud','namelock','flairlock'] %}'{{a.note}}'{% endif %}"></i>
{% endif %}
{% endfor %}