{% extends 'user/layout.html.twig' %} {% import "macros/widgets.html.twig" as widgets %} {% block profile_content %}
{% for team in user.teams %} {% endfor %}
{{ 'label.team'|trans }} {{ 'label.teamlead'|trans }} {{ 'label.user'|trans }}
{{ team.name }} {{ widgets.user_avatar(team.teamlead) }} {# {{ widgets.label(team.teamlead.displayName, 'success', 'label.teamlead'|trans) }} #} {% for user in team.users %} {{ widgets.user_avatar(user) }} {# {{ widgets.label_user(user) }} #} {% endfor %}
{% endblock %}