{# HeaderMenuTemplate #}
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand" href="/">THEA PRO</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> {{app.user.firstname}} {{ app.user.name }} <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('user_profile') }}">{% trans%}Profile{% endtrans%}</a></li>
{% if is_granted("ROLE_ADMIN") %}
<li><a href="{{ path('user_editpassword') }}">{% trans%}Change password{% endtrans%}</a></li>
{% endif %}
<li><a href="{{ path('app_logout') }}">{% trans%}Logout{% endtrans%}</a></li>
</ul>
{% endif %}
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container -->
</nav>