{% extends "admin/admin/list.html" %} {% load i18n %} {% load l10n %} {% load url from future %} {% block table_row scoped %} {{ item.ban }} {% trans %}Username and E-mail{% endtrans %} {%- elif item.type == 1 -%}label-important">{% trans %}Username{% endtrans %} {%- elif item.type == 2 -%}label-warning">{% trans %}E-mail{% endtrans %} {%- else -%}label-info">{% trans %}IP Address{% endtrans %} {%- endif %} {% if item.expires %}{{ item.expires|date }}{% else %}{% trans %}Permanent ban{% endtrans %}{% endif %} {% endblock%}