{% for machine_cluster in core.get_clusters() %}
{% set nb_machines = core.get_nb_machines(machine_cluster.id_machine_cluster) %}
{{ machine_cluster.name }}
{# {{ core.icon.remove | raw }}
{{ core.icon.edit | raw }} #}
{{ core.icon.device | raw }}
{{ nb_machines }} machines
{% for permission in core.get_permissions() %}
{{ core.permission_translate(permission.name, 'fr') }}
{% for user_cluster in core.get_authed_user_clusters(machine_cluster.id_machine_cluster, permission.id_permission) %}
{{ user_cluster.name }}
{% endfor %}
+
{% endfor %}
{# if no result #}
{% else %}
Aucun groupe trouvé.
{% endfor %}