{% extends "core/base.jinja" %} {% block additional_css %} {% endblock %} {% block content %} {% if user.has_perm("core.add_userban") %} {% trans %}Ban a user{% endtrans %} {% endif %} {% for user_ban in user_bans %}
{% trans %}Since{% endtrans %} : {{ user_ban.created_at|date }}
{% trans %}Until{% endtrans %} : {% if user_ban.expires_at %} {{ user_ban.expires_at|date }} {{ user_ban.expires_at|time }} {% else %} {% trans %}not specified{% endtrans %} {% endif %}
{{ user_ban.reason }}
{% trans %}No active ban.{% endtrans %}
{% endfor %} {% endblock %}