{% if mod|hasPermission(config.mod.view_notes) %}
{% endif %} {% if bans|length > 0 and mod|hasPermission(config.mod.view_ban) %} {% endif %} {% if mod|hasPermission(config.mod.ban) %} {% endif %} {% if logs|length > 0 %} {% endif %} {% for board_posts in posts %} {% endfor %} {% if mod|hasPermission(config.mod.warning) %} {% endif %} {% if mod|hasPermission(config.mod.ban) %} {% endif %}