2016-12-04 15:08:04 +01:00
|
|
|
<div class="dropdown-container" dropdown>
|
|
|
|
<span class="user-name" dropdown-toggle>
|
|
|
|
<img class="avatar" src="{{$currentUser->getAvatar(30)}}" alt="{{ $currentUser->name }}">
|
2018-05-28 11:33:38 +02:00
|
|
|
<span class="name">{{ $currentUser->getShortName(9) }}</span> @icon('caret-down')
|
2016-12-04 15:08:04 +01:00
|
|
|
</span>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2018-02-17 20:49:00 +01:00
|
|
|
<a href="{{ baseUrl("/user/{$currentUser->id}") }}" class="text-primary">@icon('user') {{ trans('common.view_profile') }}</a>
|
2016-12-04 15:08:04 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-02-17 20:49:00 +01:00
|
|
|
<a href="{{ baseUrl("/settings/users/{$currentUser->id}") }}" class="text-primary">@icon('edit') {{ trans('common.edit_profile') }}</a>
|
2016-12-04 15:08:04 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-02-17 20:49:00 +01:00
|
|
|
<a href="{{ baseUrl('/logout') }}" class="text-neg">@icon('logout') {{ trans('auth.logout') }}</a>
|
2016-12-04 15:08:04 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|