{% for ban in ban_appeals %}
{% if mod|hasPermission(config.mod.show_ip, board.uri) %} {% endif %}
{% trans 'Status' %} {% if config.mod.view_banexpired and ban.expires != 0 and ban.expires < time() %} {% trans 'Expired' %} {% else %} {% trans 'Active' %} {% endif %}
{% trans 'IP' %} {{ ban.mask }}
{% trans 'Reason' %} {% if ban.reason %} {{ ban.reason }} {% else %} {% trans 'no reason' %} {% endif %}
{% trans 'Board' %} {% if ban.board %} {{ config.board_abbreviation|sprintf(ban.board) }} {% else %} {% trans 'all boards' %} {% endif %}
{% trans 'Set' %} {{ ban.created|date(config.post_date) }}
{% trans 'Expires' %} {% if ban.expires %} {{ ban.expires|date(config.post_date) }} {% else %} {% trans 'never' %} {% endif %}
{% trans 'Seen' %} {% if ban.seen %} {% trans 'Yes' %} {% else %} {% trans 'No' %} {% endif %}
{% trans 'Staff' %} {% if ban.username %} {{ ban.username|e }} {% else %} {% trans 'deleted?' %} {% endif %}
{% if mod|hasPermission(config.mod.ban_appeals, board.uri) %} {% endif %}
{% trans 'Appeal time' %} {{ ban.time|date(config.post_date) }}
{% trans 'Appeal reason' %} {{ ban.message|e }}
{% trans 'Action' %}
{% if ban.post %}
{{ ban.post.build(true) }}
{% endif %}

{% endfor %}