<div class="page-header navbar navbar-fixed-top">
<div class="page-header-inner">
<div class="page-logo">
<a href="">
<img src="https://d298hcpblme28l.cloudfront.net/images/logos/_font-bundles-logo/white.svg"
alt="logo"
class="logo-default"
/>
</a>
<div class="menu-toggler sidebar-toggler hide"></div>
</div>
{% if app.user %}
<a href="javascript:"
class="menu-toggler responsive-toggler"
data-toggle="collapse"
data-target=".navbar-collapse"></a>
<div class="top-menu">
<ul class="nav navbar-nav pull-right">
<li class="dropdown dropdown-user">
<a href="javascript:"
class="dropdown-toggle"
data-toggle="dropdown"
data-hover="dropdown"
data-close-others="true">
<span class="username username-hide-on-mobile">{{ app.user.username }}</span>
<i class="fa fa-angle-down"></i>
</a>
<ul class="dropdown-menu dropdown-menu-default">
<li>
<a href="{{ path('app_security_users_update', {id: app.user.id}) }}">
{{ "profile" | trans }}
</a>
</li>
{% if not is_granted('ROLE_PREVIOUS_ADMIN') %}
<li>
<a href="{{ path('app_security_users_2fa') }}">
{{ "turn_2fa" | trans }}
</a>
</li>
{% endif %}
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<li>
<a href="{{ path('app_dashboard', {'_switch_user': '_exit'}) }}">
<i class="icon-key"></i> Exit Switch
</a>
</li>
{% endif %}
</ul>
</li>
<li class="dropdown dropdown-quick-sidebar-toggler">
<a href="{{ path('app_logout') }}" class="dropdown-toggle">
<i class="icon-logout"></i>
</a>
</li>
</ul>
</div>
{% endif %}
</div>
</div>
<div class="clearfix"></div>