My Account: Cleaned-up/reorganised user header dropdown
This commit is contained in:
parent
03c44b3992
commit
e4ea73ee25
1 changed files with 8 additions and 13 deletions
|
@ -18,11 +18,16 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ $user->getEditUrl() }}" class="icon-item">
|
||||
@icon('edit')
|
||||
<div>{{ trans('common.edit_profile') }}</div>
|
||||
<a href="{{ url('/my-account') }}" class="icon-item">
|
||||
@icon('user-preferences')
|
||||
<div>{{ trans('preferences.my_account') }}</div>
|
||||
</a>
|
||||
</li>
|
||||
<li><hr></li>
|
||||
<li>
|
||||
@include('common.dark-mode-toggle', ['classes' => 'icon-item'])
|
||||
</li>
|
||||
<li><hr></li>
|
||||
<li>
|
||||
<form action="{{ url(config('auth.method') === 'saml2' ? '/saml2/logout' : '/logout') }}"
|
||||
method="post">
|
||||
|
@ -33,15 +38,5 @@
|
|||
</button>
|
||||
</form>
|
||||
</li>
|
||||
<li><hr></li>
|
||||
<li>
|
||||
<a href="{{ url('/my-account') }}" class="icon-item">
|
||||
@icon('user-preferences')
|
||||
<div>{{ trans('preferences.my_account') }}</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
@include('common.dark-mode-toggle', ['classes' => 'icon-item'])
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
Loading…
Reference in a new issue