{% macro scopes_tree_collapse(scopes, state='', selection_mode='scopes') -%} {% endmacro %} {% macro scopes_tree_collapse_level(scopes, parent_room, parent_id, state, selection_mode) -%} {% for scope in scopes %} {% endfor %} {% endmacro %} {% macro selected_clients() -%}

{{_('Selected clients')}}

{% endmacro %} {% macro cmd_selected_clients(selected_clients) -%}
{% set max_clients = 50 %} {% for name_id, ip in selected_clients[:max_clients] %}
{{ name_id }}
{{ ip }}
{% if loop.last and (selected_clients|length > max_clients) %}
...
{% endif %} {% endfor %}
{% endmacro %}