{% set badges = constant('APP\\Entity\\Security\\Role::BADGES') %}
{% set role = user.getRoles|first %}
{{ user|icon }}
{{ user.fullName }}
{% if user.isVerified %}
{% include 'Extentions/Icons/verified.html.twig' %}
{% endif %}
{{ ('app.global.user.instance.' ~ instance)|trans }}
{% include 'Extentions/Icons/envelope.html.twig' %}
{{ user.email }}
{% if instance not in ['shop-manager', 'developer', 'support'] %}
{% if user.phone %}
{% include 'Extentions/Icons/phone.html.twig' %}
{{ user.phone|phoneWithFlag }}
{% endif %}
{% endif %}
{% if backToListButton is defined and true == backToListButton %}
{{ link('back_to_list',path('foxorders_security_user_index', {'instance' : instance} )) }}
{% endif %}