34 lines
765 B
HTML
34 lines
765 B
HTML
{% extends "settings2.html" %}
|
|
{% block pagetitle %}Banned Users{% endblock %}
|
|
{% block content %}
|
|
|
|
<h5 class="my-4">Users who are permabanned or have more than 30 days to be unbanned</h5>
|
|
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
<th>#</th>
|
|
<th>Name</th>
|
|
<th>Ban reason</th>
|
|
<th>Banned by</th>
|
|
<th>Unban in</th>
|
|
</tr>
|
|
</thead>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td>{{loop.index}}</td>
|
|
<td>{% include "user_in_table.html" %}</td>
|
|
<td>{% if user.ban_reason %}{{user.ban_reason}}{% endif %}</td>
|
|
<td>
|
|
{% with user=user.banned_by %}
|
|
{% include "user_in_table.html" %}
|
|
{% endwith %}
|
|
</td>
|
|
<td>
|
|
{{user.unban_in}}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %}
|