remotes/1693045480750635534/spooky-22
kek7198 2021-12-31 09:10:33 -06:00
parent bc0f181ebc
commit 006fb42eac
1 changed files with 6 additions and 1 deletions

View File

@ -221,7 +221,7 @@
<hr class="mt-6 mb-5 h-0.5 border-b border-gray-300 dark:border-gray-900 shadow-inset-t-white-05"/>
<div>
<h2 class="ml-2 font-bold text-lg font-heading leading-normal mb-2">Badges</h2>
<ul class="flex flex-row flex-wrap gap-2 mb-0">
<ul class="flex flex-row flex-wrap gap-2">
{% if u.badges %}
{% for b in u.badges %}
<li>
@ -238,6 +238,11 @@
<p class="italic text-gray-500 text-sm">No badges... lame</p>
{% endif %}
</ul>
{% if v.admin_level > 2 %}
<a href="/admin/badge_grant" class="text-sm text-primary hover:underline">
Grant @{{ u.username }}badge
</a>
{% endif %}
</div>
<hr class="mt-6 mb-5 h-0.5 border-b border-gray-300 dark:border-gray-900 shadow-inset-t-white-05"/>
<div>