{% macro icon(icon) %} {% endmacro %} {%- macro page_actions(tools) -%}
{%- endmacro -%} {%- macro entity_actions(tools) -%} {%- endmacro -%} {% macro page_header(title) %}{{ description|trans }}
{{ 'label.team'|trans }} | {{ 'label.user'|trans }} |
---|---|
{{ team.name }} | {{ macro.user_avatar(team.teamlead, ('label.teamlead'|trans ~ ': ' ~ team.teamlead.displayName), 'teamlead') }} {% set teamHiddenId = 'team_' ~ team.id ~ '_hiddenUser' ~ random() %} {% set counter = 0 %} {% for user in users %} {% if user != team.teamlead %} {{ macro.user_avatar(user) }} {% set counter = counter + 1 %} {% endif %} {% if userTeamCount > collapseAt and counter == (collapseAt - 1) and loop.index != userTeamCount %} {{ 'label.plus_more'|trans({'%count%': (userTeamCount - collapseAt)}) }} {% set counter = counter + 1 %} {% endif %} {% if userTeamCount > collapseAt and counter != (collapseAt - 1) and loop.index == userTeamCount %} {% endif %} {% endfor %} |