Skip to content

Commit

Permalink
Fix user name in the user menu for RTL
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Nov 24, 2023
1 parent 37231ee commit 917ab66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/templates/header.twig
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
</button>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item disableAjax" href="{{ url('/server/privileges', {'username': current_user[0], 'hostname': current_user[1]}) }}">
{{ get_icon('user', current_user|join('@')) }}
<a class="dropdown-item text-nowrap disableAjax" href="{{ url('/server/privileges', {'username': current_user[0], 'hostname': current_user[1]}) }}">
{{ get_image('user', '', {'aria-hidden': 'true'}) }} <span dir="ltr">{{ current_user|join('@') }}</span>
</a>
</li>
<li><hr class="dropdown-divider"></li>
Expand Down

0 comments on commit 917ab66

Please sign in to comment.