{% extends '@ChillMain/layout.html.twig' %} {% block css %} {{ parent() }} {{ encore_entry_link_tags('mod_pickentity_type') }} {% endblock %} {% block js %} {{ parent() }} {{ encore_entry_script_tags('mod_pickentity_type') }} {% endblock %} {% block title 'user_group.my_groups'|trans %} {% block content %}
{{ 'user_group.no_user_groups'|trans }}
{% else %}{% if entity.users|length > 1 %}{{ 'user_group.me_and'|trans }}{% else %}{{ 'user_group.me_only'|trans }}{% endif %}
{% endif %} {% endif %} {% for user in entity.userListByLabelAscending %} {% if user is not same as app.user %} {% if is_granted('CHILL_MAIN_USER_GROUP_APPEND_TO_GROUP', entity) %} {% else %}{{ user|chill_entity_render_box }}
{% endif %} {% endif %} {% endfor %}{% if entity.adminUsers|length > 1 %}{{ 'user_group.me_and'|trans }}{% else %}{{ 'user_group.me_only'|trans }}{% endif %}
{% endif %} {% for user in entity.adminUserListByLabelAscending %} {% if user is not same as app.user %}{{ user|chill_entity_render_box }}
{% endif %} {% endfor %}