fix
parent
cc680f000e
commit
bb686e6f49
|
@ -70,13 +70,19 @@
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<!-- Banned -->
|
|
||||||
<ul class="flex flex-col mb-0">
|
<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 %}
|
{% if p.club %}
|
||||||
<li>
|
<li>
|
||||||
<span class="badge badge-yellow">Country Club</span>
|
<span class="badge badge-yellow">Country Club</span>
|
||||||
<li>
|
<li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<!-- Banned -->
|
||||||
{% if p.bannedfor and p.author.banned_by %}
|
{% if p.bannedfor and p.author.banned_by %}
|
||||||
<li>
|
<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>
|
<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>
|
<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>
|
</li>
|
||||||
{% endif %}
|
{% 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 -->
|
<!-- Private -->
|
||||||
{% if p.private %}
|
{% if p.private %}
|
||||||
<li>
|
<li>
|
||||||
<span class="badge border-warning border-1 text-small-extra">Draft</span>
|
<span class="badge border-blue">Draft</span>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue