{% for board_posts in posts %}
{{ config.board_abbreviation|sprintf(board_posts.board.uri) }} - {{ board_posts.board.title }} {{ board_posts.posts|join('
') }}
{% endfor %} {% if mod|hasPermission(config.mod.view_notes) %}
{{ notes|count }} note{% if notes|count != 1 %}s{% endif %} on record {% if notes|count > 0 %} {% if mod|hasPermission(config.mod.remove_notes) %} {% endif %} {% for note in notes %} {% if mod|hasPermission(config.mod.remove_notes) %} {% endif %} {% endfor %}
Staff Note DateActions
{% if note.username %} {{ note.username }} {% else %} deleted? {% endif %} {{ note.body }} {{ note.time|date(config.post_date) }} [remove]
{% endif %} {% if mod|hasPermission(config.mod.create_notes) %}
Staff {{ mod.username }}
{% endif %}
{% endif %} {% if bans|count > 0 and mod|hasPermission(config.mod.view_ban) %}
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 %} {% if mod|hasPermission(config.mod.ban) %}
New ban {% set redirect = '?/IP/' ~ ip %} {% include 'mod/ban_form.html' %}
{% endif %}