forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-10 00:26:12 -06:00
parent 188feef54c
commit 1e41955823
1 changed files with 58 additions and 43 deletions

View File

@ -248,6 +248,21 @@
{% block content %}
<div class="col-span-full xl:col-span-9">
{% if u.is_suspended %}
<!-- Non-dismissable Alerts -->
<div class="p-2.5 md:p-0">
<!-- Banned -->
<div class="mt-4 mb-0 rounded-lg shadow-lg p-3 text-white bg-red-600 border border-red-900 shadow-inset-t-white-10">
<i class="fas fa-gavel fa-fw mr-1"></i>
<span class="font-medium">
{{ u.username }} was banned by
<a href="{{u.banned_by.url}}" class="text-white hover:underline">@{{u.banned_by.username}}</a>
</span>
</div>
</div>
{% endif %}
<div class="sm:py-4 my-2.5 sm:my-0">
{% if not "saved" in request.full_path %}
<div class="flex justify-end md:justify-start mb-3 md:m-0 px-2.5 md:px-0">
@ -280,7 +295,7 @@
{% endblock %}
{% block sidebar %}
{% include "/sidebars/ProfileSidebar.html" %}
{% include "/sidebars/ProfileSidebar.html" %}
{% endblock %}
{% block modals %}