{% filter remove_whitespace %} {# Automatically removes unnecessary whitespace #}
{% if ban.expires and time() >= ban.expires %} {% trans %}You were banned from{% endtrans %} {% else %} {% trans %}You have been banned from{% endtrans %} {% endif %} {% if ban.board %} {{ config.board_abbreviation|sprintf(ban.board) }} {% else %} {% trans %}all boards{% endtrans %} {% endif %} {% if ban.reason %} {% trans %}for the following reason:{% endtrans %} {% else %} {% trans %}for an unspecified reason.{% endtrans %} {% endif %}
{% if ban.reason %}{{ ban.reason }}
{% endif %}{% trans %}Your ban was filed on{% endtrans %} {{ ban.created|date(config.ban_date) }} {% trans %}and{% endtrans %} {% if ban.expires and time() >= ban.expires %} {% trans %} has since expired. Refresh the page to continue.{% endtrans %} {% elseif ban.expires %} {% trans %}expires{% endtrans %} {{ ban.expires|until }} {% trans %}from now, which is on{% endtrans %} {{ ban.expires|date(config.ban_date) }} {% else %} {% trans %}will not expire{% endtrans %}. {% endif %}
{% trans %}Your IP address is{% endtrans %} {{ ban.ip }}.
{% if post %}You were banned for the following post:
{{ post }}{{ config.ban_page_extra }}
{% endif %}