{% for menu in menus %} {% if (menu.featureCode is null or autorise(menu.featureCode)) %} {% if menu.routeName != "#" %}
  • {{ menu.nom }}
  • {% else %}
  • {{ menu.nom }}
  • {% endif %} {% if menu.children|length > 0 %} {% for child in menu.children|sort((a, b) => a.position <=> b.position) %} {% if autorise(child.featureCode) %}
  • {{ child.nom }} {% if child.children|length > 0 %} {% endif %} {% if child.children|length > 0 %}
      {% for subchild in child.children|sort((a, b) => a.position <=> b.position) %} {% if autorise(subchild.featureCode) %}
    • {{ subchild.nom }}
    • {% endif %} {% endfor %}
    {% endif %}
  • {% endif %} {% endfor %} {% endif %} {% endif %} {% endfor %}