remotes/1693045480750635534/spooky-22
Aevann1 2021-08-28 13:56:39 +02:00
parent e968efa9ba
commit 839b0c2028
2 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@
<div id="post-content" class="{% if p.deleted_utc > 0 %}deleted {% endif %}card-block w-100 my-md-auto">
<div class="post-meta text-left mb-2">
{% if p.author.banned_by %}
{% if p.bannedfor and p.author.banned_by %}
<a href="javascript:void(0)"><i class="fad fa-gavel text-danger" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="User was banned for this post by @{{p.author.banned_by.username}}"></i></a>
{% endif %}

View File

@ -87,7 +87,7 @@
<div class="card-block text-left x-scroll-parent my-md-auto w-100">
<div class="post-meta text-left x-scroll mb-md-2">
{% if p.author.banned_by %}
{% if p.bannedfor and p.author.banned_by %}
<a href="javascript:void(0)"><i class="fad fa-gavel text-danger" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="User was banned for this post by @{{p.author.banned_by.username}}"></i></a>
{% endif %}