master
kek7198 2021-12-02 22:02:22 -06:00
parent 4ba939bab8
commit e2965682d8
1 changed files with 11 additions and 5 deletions

View File

@ -21,12 +21,18 @@
{% endif %} {% endif %}
{% if p.active_flags %} {% if p.active_flags %}
<div id="flaggers-{{p.id}}" class="flaggers hidden"> <div id="flaggers-{{p.id}}" class="p-3 rounded-md bg-red-300 border border-red-400 hidden">
<strong><i class="far fa-fw fa-flag"></i> Reported by:</strong> <strong><i class="fas fa-flag fa-fw mr-2"></i>Reported by:</strong>
<pre></pre> <ul class="mb-0 flex flex-col font-bold">
<ul style="padding-left:20px; margin-bottom: 0;">
{% for f in p.ordered_flags %} {% for f in p.ordered_flags %}
<li><a style="font-weight:bold" href="{{f.user.url}}">{{f.user.username}}</a>{% if f.reason %}: {{f.reason | safe}}{% endif %} {% if v.admin_level==6 %}<a href="javascript:void(0)" onclick="post_toast('/del_report/p{{ f.id }}')">[remove]</a>{% endif %}</li> <li>
<a class="text-gray-700 hover:text-gray-900" href="{{f.user.url}}">{{f.user.username}}</a>
{% if f.reason %}: {{f.reason | safe}}{% endif %} {% if v.admin_level==6 %}
<button class="text-red-600 hover:underline" onclick="post_toast('/del_report/p{{ f.id }}')">
remove
</button>
{% endif %}
</li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>