{% extends "settings2.html" %} {% block pagetitle %}Banned Users{% endblock %} {% block content %}
# | Name | {% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}Last Active | {%- endif %}Truescore | Ban reason | Banned by | Unban in |
---|---|---|---|---|---|---|
{{loop.index}} | {% include "user_in_table.html" %} | {% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}{%- endif %} | {{user.truescore}} | {% if user.ban_reason %}{{user.ban_reason | safe}}{% else %}No reason{% endif %} | {% with user=user.banned_by %}{% include "user_in_table.html" %} | {% endwith %}