{% extends "misago/profile/base.html" %} {% load i18n %} {% block title %}{% trans "Ban details" %} | {{ block.super }}{% endblock %} {% block og-title %}{% trans "Ban details" %} | {{ block.super }}{% endblock %} {% block twitter-title %}{% trans "Ban details" %} | {{ block.super }}{% endblock %} {% block section %}

{% trans "Ban details" %}

{% if ban.user_message %}

{% trans "User-shown ban message" %}

{{ ban.user_message|force_escape|urlize|linebreaks }}
{% endif %} {% if ban.staff_message %}

{% trans "Team-shown ban message" %}

{{ ban.staff_message|force_escape|urlize|linebreaks }}
{% endif %}

{% trans "Ban expiration" %}

{% if ban.expires_on %} {% blocktrans trimmed with username=profile.username expires_on=ban.expires_on|date:"DATETIME_FORMAT" %} {{ username }}'s ban expires on {{ expires_on }}. {% endblocktrans %} {% else %} {% blocktrans trimmed with username=profile.username %} {{ username }}'s ban is permanent. {% endblocktrans %} {% endif %}

{% endblock section %}