<header class="trw-header">
<div class="page-header">
<nav class="navbar-primary navbar-logo">
<a href="{{path('helpdesk_knowledgebase_folder')}}" title="Go to homepage">
<img src="{{ absolute_url(asset('build/images/logo_big.png')) }}" width="40" height="40" alt="logo">
<span class="navbar-icon-label">The Retro Web</span>
</a>
</nav>
<nav class="navbar-primary navbar-links">
<a href="{{ path('helpdesk_customer_create_ticket') }}" class="nav-link">
<img src="{{ absolute_url(asset('build/icons/articles.svg')) }}" width="24" height="24" alt="art">
<span class="navbar-label">New ticket</span>
</a>
{% if currentUser is defined and currentUser %}
<span style="position: relative" class="uv-profile-block">
<div class="uv-profile-wrapper uv-dropdown-other">
<div class="uv-profile-avatar">
<img src="{{ currentUser.smallThumbnail ? app.request.scheme ~'://' ~ app.request.httpHost ~ asset('') ~ currentUser.smallThumbnail : asset(default_customer_image_path) }}" width="32" height="32">
<span class="navbar-link">{{ currentUser.firstName }}</span>
</div>
<div class="uv-drop-icon"></div>
</div>
<div class="uv-dropdown-list uv-bottom-right uv-text-left">
<div class="uv-dropdown-container">
<label>Account</label>
<ul>
<li>
<a href="{{ path('helpdesk_customer_ticket_collection') }}">Tickets</a>
</li>
{% if websiteConfiguration.ticketCreateOption == 1 %}
<li>
<a href="{{ path('helpdesk_customer_create_ticket') }}">New Ticket Request</a>
</li>
{% endif %}
<li>
<a href="{{ path('helpdesk_customer_account') }}">Profile</a>
</li>
<li>
<a class="uv-text-danger" href="{{ path('helpdesk_customer_logout') }}">Sign Out</a>
</li>
</ul>
</div>
</div>
</span>
{% else %}
<a href="{{path('helpdesk_customer_login')}}" class="nav-link">
<img src="{{ absolute_url(asset('build/icons/login.svg')) }}" width="24" height="24" alt="login">
<span class="navbar-label"></span>
</a>
{% endif %}
</nav>
</div>
</header>