{% extends "base.html" %} {% block content %} {% set attribute_name = "bans" %} {% set reasons = ["all"] %} {% set terms = ["all"] %} {% for ban in bans %} {% if ban["reason"] not in reasons %} {% if reasons.append(ban["reason"]) %}{% endif %} {% endif %} {% if ban["term"] not in terms %} {% if terms.append(ban["term"]) %}{% endif %} {% endif %} {% endfor %}
{{ header['name'] }}
{% endfor %}{{ ban['ip'] }}
{{ ban['reason'] }}
{{ ban['ban_start'] }}
{{ ban['ban_end'] }}
{{ ban['remain'] }}
{{ ban['term'] }}