{% load i18n %} {% with ban.get_serialized_message.message as ban_message %} {% if ban_message.html %}
{{ ban_message.html|safe }}
{% else %}

{{ ban_message.plain }}

{% endif %} {% endwith %}

{% if ban.expires_on %} {% blocktrans trimmed with expires_on=ban.expires_on|date:"DATETIME_FORMAT" %} This ban expires on {{ expires_on }}. {% endblocktrans %} {% else %} {% trans "This ban is permanent." %} {% endif %}