Skip to content

Commit

Permalink
Update header.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIncognito85 authored Jan 8, 2023
1 parent abc2f96 commit 7505552
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Theme/Argon/includes/header.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
</a>
</li>

{% if current_user() %}
<li class="nav-item dropdown d-flex align-items-start">
<a href="javascript:;" style="margin-right: 10px;" class="nav-link text-white p-0" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fa fa-user cursor-pointer" style="margin-right: 3px;"></i> <span class="d-sm-inline d-none">{{ trans("hello", {'%name%': current_user().name}) }}</span>
Expand Down Expand Up @@ -94,7 +95,7 @@
</div>
</a>
</li>
{% if current_user() and current_user().confirmed() %}
{% if current_user().confirmed() %}

<li class="mb-2">
<a class="dropdown-item border-radius-md" href="{{ path('account.emails') }}">
Expand Down Expand Up @@ -128,6 +129,8 @@
</li>
</ul>
</li>

{% endif %}
{% if setting('disabled_changelocale') != 'true' %}
<li class="nav-item dropdown pe-2 d-flex align-items-start" style="margin-left: 10px;">
<a href="javascript:;" class="nav-link text-white p-0" id="dropdownLocale" data-bs-toggle="dropdown" aria-expanded="false">
Expand Down

0 comments on commit 7505552

Please sign in to comment.