{% for user in users %}
{{ switchUser(user.email, instance) }} {% if (isAdministrator or isSupport) and 'customer' == instance and not user.isVerified %} {% include 'Security/User/form-validation-email.html.twig' with {'id': user.id} %} {% endif %} {% if true == isShopManager and 'shop-manager' == instance and null != user.deviceId %} {% endif %} {% if not isShopManager or 'shop-manager' != instance %} {{ link('show', path('foxorders_security_user_show', {'id': user.id}), 'warning') }} {% endif %}
{% if user.image is null and user.imageUrl is null %} {{ user.fullName|slice(0,2)|upper }} {% else %} {% set image = user.imageUrl ? getImageUrl(user.imageUrl) : getImage(users_images ~ user.image) %} {% endif %}
{% if not isShopManager or 'shop-manager' != instance %} {{ user.fullName }} {% else %} {{ user.fullName }} {% endif %}
{{ user.email }}
{% if not (true == isShopManager and 'shop-manager' == instance) %}
{{ ("app.global.user.instance." ~ instance)|trans|badge('info') }}
{% endif %} {% if 'shop-manager' == instance %}
{% if isShopManager %} {{ user.deviceName|capitalize|badge('success') }} {% else %} {{ user.shopName|capitalize|badge('success') }} {% endif %}
{% elseif 'manager' == instance %} {% endif %}
{% endfor %}