{% extends 'manage/users/master.twig' %} {% from 'macros.twig' import pagination, container_title, avatar %} {% set warns_pagination = pagination(manage_warns_pagination, 'manage-users-warnings', {'user': manage_warns_filter_user.id|default(0)}) %} {% set warns_filtering = manage_warns_filter_user is not null %} {% block manage_content %}
{{ container_title(' Warnings') }}
List of user warnings. {% if not warns_filtering %}Filter by a user to issue a new warning.{% endif %}
{% if warns_pagination|trim|length > 0 %}
{{ warns_pagination }}
{% endif %} {% if warns_filtering %}
Issue new Warning
{% endif %}
{% for warn in manage_warns %}
{% if warn.mod is not null %} {% endif %}
Subject
{% if not warns_filtering %} {% endif %}
{% for line in warn.info.bodyLines %}

{{ line }}

{% endfor %}
{% endfor %}
{% if warns_pagination|trim|length > 0 %}
{{ warns_pagination }}
{% endif %}
{% endblock %}