{% if admin is defined and action is defined and action == 'list' and admin.listModes|length > 1 %}
{% for mode, settings in admin.listModes %}
{% endfor %}
{% endif %}
{% if _list_filters_actions is not empty %}
{{ _list_filters_actions|raw }}
{% endif %}