templates/partiel/nav.html.twig line 1
<nav class="navbar navbar-expand-lg bg-light">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
menu
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="{{ path('app_main') }}">accueil</a></li>
{% if app.user and app.user.confir == 1 %}
{% if app.user.client == 0 %}
<li><a class="dropdown-item" href="{{ path('client_index') }}">participant</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="{{ path('lieu_index') }}">lieu</a></li>
<li><a class="dropdown-item" href="{{ path('secteur_index') }}">secteur</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="{{ path('inter_index') }}">relever</a></li>
<li><a class="dropdown-item" href="{{ path('factcon_index') }}">numero etude</a></li>
<li><hr class="dropdown-divider"></li>
{% else %}
{% endif %}
{% endif %}
<li><hr class="dropdown-divider"></li>
{% if app.user %}
<li><a class="dropdown-item" href="{{ path('cli_lieu') }}">lieu</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="{{ path('app_aide') }}">aide</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="{{ path('app_logout') }}">deconnection</a></li>
{% else %}
<li><a class="dropdown-item" href="{{ path('app_login') }}">connection</a></li>
{% endif %}
{% if app.user and app.user.confir == 1 and app.user.client == 0 %}
<li><a class="dropdown-item" href="{{ path('admin_index') }}">admin</a></li>
{% endif %}
</ul>
</li>
</ul>
</div>
</div>
</nav>