{% for board_posts in posts %}
{{ config.board_abbreviation|sprintf(board_posts.board.uri) }} - {{ board_posts.board.title }} {{ board_posts.posts|join('
') }}
{% endfor %} {% set redirect = '?/IP/' ~ ip %} {% if bans|count > 0 %}
Ban{% if bans|count != 1 %}s{% endif %} on record {% for ban in bans %}
Status {% if config.mod.view_banexpired and ban.expires != 0 and ban.expires < time() %} Expired {% else %} Active {% endif %}
IP {{ ban.ip }}
Reason {% if ban.reason %} {{ ban.reason }} {% else %} no reason {% endif %}
Board {% if ban.board %} {{ config.board_abbreviation|sprintf(ban.board) }} {% else %} all boards {% endif %}
Set {{ ban.set|date(config.post_date) }}
Expires {% if ban.expires %} {{ ban.expires|date(config.post_date) }} {% else %} never {% endif %}
Staff {% if ban.username %} {{ ban.username }} {% else %} deleted? {% endif %}
{% endfor %}
{% endif %}
New ban {% include 'mod/ban_form.html' %}