{% extends "base.html" %} {% load i18n pagination_tags numbers %} {% block title %} {% trans "Bans" %} | {{ block.super }} {% endblock %} {% block content-title %}{% trans "Bans" %}{% endblock %} {% block content %}
{% blocktrans with t_ip=ip %} Your IP {{ t_ip }} is {% endblocktrans %} {% if banned %} {% trans "banned" %}. {% else %} {% trans "not banned" %}. {% endif %}
{% autopaginate bans %} {% paginate %}{% trans "Date" %} | {% trans "Player" %} | {% trans "Admin" %} | {% trans "Reason" %} | {% trans "Length" %} | {#{% trans "Active" %} | #}
---|---|---|---|---|---|
{{ ban.get_date|date:"d.m.Y" }} |
{% if user.is_staff %}
![]() |
{{ ban.admin_nick }} | {{ ban.ban_reason }} | {{ ban.get_length }} | {#{% if ban.is_active %}{% trans "yes" %}{% else %}{% trans "no" %}{% endif %} | #}