{% if list is empty %} {{ 'You are not authorized to do this' | trans }} {% else %}
{% for owner in list.getOwners() %}
{{ owner.getUser().getDisplayName() }}
{% if app.getAuthenticatedUser().getId() == owner.getUser().getId() %} {% if owner.getRole() == constant('Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner::ROLE_ADMIN') %} {{ 'You are Admin' | trans }} {% endif %} {% else %} {% endif %}
{% if app.getAuthenticatedUser().getId() != owner.getUser().getId() %} × {% endif %}
{% endfor %}
{% include "prod/templates/push.html.twig" %} {% endif %}