master
kek7198 2021-12-06 00:21:06 -06:00
parent cfe32c2f93
commit 1fa9c73119
2 changed files with 13 additions and 6 deletions

View File

@ -90,7 +90,7 @@
{% if error %}
<div class="mt-4 mb-0 alert show fade rounded-lg shadow-lg p-3 text-gray-200 bg-red-600 border border-gray-900 shadow-inset-t-white-10" role="alert">
<i class="fas fa-exclamation-circle fa-fw mr-1"></i>
<span class="font-medium font-heading">
<span class="font-medium">
{{error}}
</span>
<button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
@ -101,7 +101,7 @@
{% if msg %}
<div class="mt-4 mb-0 alert show fade rounded-lg shadow-lg p-3 text-gray-200 bg-green-600 border border-gray-900 shadow-inset-t-white-10" role="alert">
<i class="fas fa-check-circle fa-fw mr-1"></i>
<span class="font-medium font-heading">
<span class="font-medium">
{{msg}}
</span>
<button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">

View File

@ -215,6 +215,17 @@
{% block content %}
{% if p.is_banned and p.ban_reason %}
<div class="col-span-full xl:col-span-9">
<div class="mt-4 mb-0 rounded-lg shadow-lg p-3 text-gray-200 bg-red-600 border border-gray-900 shadow-inset-t-white-10">
<i class="fas fa-gavel fa-fw mr-1"></i>
<span class="font-medium">
Removed by @{{p.ban_reason}}
</span>
</div>
</div>
{% endif %}
<div class="col-span-full xl:col-span-9">
<!-- Post -->
@ -371,10 +382,6 @@
</div>
{% endfor %}
{% if p.is_banned and p.ban_reason %}
<div class="text-red-800 font-bold text-lg">removed by @{{p.ban_reason}}</div>
{% endif %}
</div>
{% if p.embed_url %}