master
kek7198 2021-12-06 00:13:47 -06:00
parent cc680f000e
commit bb686e6f49
1 changed files with 8 additions and 8 deletions

View File

@ -70,13 +70,19 @@
</li>
{% endif %}
</ul>
<!-- Banned -->
<ul class="flex flex-col mb-0">
<!-- NSFW -->
{% if p.over_18 %}
<li>
<span class="badge badge-red">+18</span>
</li>
{% endif %}
{% if p.club %}
<li>
<span class="badge badge-yellow">Country Club</span>
<li>
{% endif %}
<!-- Banned -->
{% if p.bannedfor and p.author.banned_by %}
<li>
<i class="fad fa-gavel fa-sm fa-fw text-red-600" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="User was banned for this post by @{{p.author.banned_by.username}}"></i>
@ -97,16 +103,10 @@
<i class="fas fa-thumbtack fa-rotate--45 fa-sm fa-fw text-admin" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="Pinned to profile"></i>
</li>
{% endif %}
<!-- NSFW -->
{% if p.over_18 %}
<li>
<span class="px-2 py-1 rounded-sm bg-gradient-to-t from-red-700 to-red-500 shadow-inner text-xs text-white">+18</span>
</li>
{% endif %}
<!-- Private -->
{% if p.private %}
<li>
<span class="badge border-warning border-1 text-small-extra">Draft</span>
<span class="badge border-blue">Draft</span>
</li>
{% endif %}
</ul>