<div class="navbar navbar-inverse">
<!-- start: TOP NAVIGATION CONTAINER -->
<div class="container">
<div class="navbar-header">
<!-- start: RESPONSIVE MENU TOGGLER -->
<button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button">
<span class="clip-list-2"></span>
</button>
<!-- end: RESPONSIVE MENU TOGGLER -->
<!-- start: LOGO -->
<a class="navbar-brand" href="{{ path('homepage') }}">
EMMA CONNECT <span style="color:red">{% if 'dev.emmaconnect.fr' in app.request.uri %} SERVEUR DE DEV!!! {% endif %}</span>
</a>
<!-- end: LOGO -->
</div>
<div class="navbar-tools">
<!-- start: TOP NAVIGATION MENU -->
<ul class="nav navbar-right">
<!-- start: USER DROPDOWN -->
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<li class="dropdown current-user">
<a data-toggle="dropdown" data-hover="dropdown" class="dropdown-toggle" data-close-others="true" href="#">
{# <img src="{{ asset('images/avatar-1-small.jpg') }}" class="circle-img" alt="">#}
<span class="username">{{ app.user.email }}</span>
<i class="clip-chevron-down"></i>
</a>
<ul class="dropdown-menu">
<li class="divider"></li>
<li>
<a href="{{ path('app_logout') }}">
<i class="clip-exit"></i> Log Out
</a>
</li>
</ul>
</li>
{% else %}
<li>
<a href="{{ path('app_login') }}">Se connecter</a>
</li>
{% endif %}
<!-- end: USER DROPDOWN -->
</ul>
<!-- end: TOP NAVIGATION MENU -->
</div>
</div>
<!-- end: TOP NAVIGATION CONTAINER -->
</div>