{% import "/macros/menu.html.twig" as menu %}
{% if is_granted('ROLE_SUPER_ADMIN') %}
{{ menu.icon(path('parametre'), 'options-2-outline', 'Menu13') }}
{{ menu.icon(path('operator_index'), 'options-2-outline', 'Menu14') }}
{% endif %}
{% if is_granted('ROLE_MAINTENANCE_PARKING') %}
{{ menu.icon(path('liste_abris'), 'abri', 'Menu1') }}
{% endif %}
{% if not has_parameter_granted('sensorModeOnly') %}
{% if is_granted('ROLE_GESTIONNAIRE') %}
{{ menu.icon(path('liste_clients'), 'cycliste', 'Menu2') }}
{% endif %}
{% if is_granted('ROLE_COORDINATEUR') %}
{{ menu.icon(path('maintainer_list'), 'info', 'Menu3') }}
{% endif %}
{% endif %}
{% if is_granted('ROLE_ADMIN') %}
{{ menu.icon(path('liste_user'), 'people-outline', 'Menu4') }}
{% endif %}
{% if is_granted('ROLE_COORDINATEUR') and has_parameter_granted('stat_and_report') %}
{{ menu.icon(path('statistique'), 'add_chart_black_24dp', 'Menu5') }}
{% endif %}
<hr>
{% if is_granted('ROLE_ADMIN') %}
{% if has_parameter_granted('fo') %}
{{ menu.icon(path('offre_liste'), 'grid-outline', 'Menu7') }}
{{ menu.icon(path('content_index', { 'templateFileName' : 'territory'}), 'settings-outline', 'Menu8') }}
{% endif %}
{% endif %}
{% if is_granted('ROLE_GESTIONNAIRE') %}
{% if has_parameter_granted('paiement_fo') %}
{{ menu.icon(path('liste_finances'), 'price', 'Menu9') }}
{% endif %}
{% if has_parameter_granted("badge") %}
{{ menu.icon(path('liste_commandes'), 'tarifs', 'Menu10') }}
{% endif %}
{% endif %}
<hr>
{% if is_granted('ROLE_UTILISATEUR') %}
{{ menu.icon(path('user_my_account'), 'person-outline', 'Menu11') }}
{% endif %}
{{ menu.icon(path('logout'), 'deconnexion', 'Menu12', 'logout') }}
<hr>
<li>
<span class="nav_name version">Ver {{ get_parameter_value('version') }}</span>
</li>