{% macro sortUrl(workspaceId, orderedBy, order) %} {% if order == 'ASC' %} {% set newOrder = 'DESC' %} {% else %} {% set newOrder = 'ASC' %} {% endif %} {{ path('claro_team_manager_menu', {'workspace': workspaceId, 'orderedBy': orderedBy, 'order': newOrder }) }} {% endmacro %} {% from _self import sortUrl %} {% extends "ClarolineCoreBundle:Workspace:layout.html.twig" %} {% block title %} {{ parent() ~ ' - ' ~ "claroline_team_tool" | trans({}, "tools") | striptags | raw }} {% endblock %} {% block breadcrumb %} {{ macros.workspaceBreadcrumbs( workspace, [ { 'name': 'claroline_team_tool'|trans({}, 'tools'), 'href': '' } ] ) }} {% endblock %} {% block section_content %}
{{ 'team'|trans({}, 'team') }} | {{ 'description'|trans({}, 'platform') }} | {{ 'users'|trans({}, 'platform') }} | {{ 'maximum'|trans({}, 'team') }} | {{ 'actions'|trans({}, 'platform') }} | |||
---|---|---|---|---|---|---|---|
{{ team.getName() }} | {% if team.description() is not empty %} {% else %} - {% endif %} | {% if nbUsers[team.getId()] is defined %} {{ nbUsers[team.getId()] }} {% else %} 0 {% endif %} | {% if team.getMaxUsers() is not empty %} {{ team.getMaxUsers() }} {% else %} - {% endif %} | {% if team.getSelfRegistration() %} {% else %} {% endif %} | {% if team.getSelfUnregistration() %} {% else %} {% endif %} | {% if team.getDirectory() is not empty %} {% endif %} |