2016-12-04 09:08:04 -05: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 05:33:38 -04:00
|
|
|
<span class="name">{{ $currentUser->getShortName(9) }}</span> @icon('caret-down')
|
2016-12-04 09:08:04 -05:00
|
|
|
</span>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2018-02-17 14:49:00 -05:00
|
|
|
<a href="{{ baseUrl("/user/{$currentUser->id}") }}" class="text-primary">@icon('user') {{ trans('common.view_profile') }}</a>
|
2016-12-04 09:08:04 -05:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-02-17 14:49:00 -05:00
|
|
|
<a href="{{ baseUrl("/settings/users/{$currentUser->id}") }}" class="text-primary">@icon('edit') {{ trans('common.edit_profile') }}</a>
|
2016-12-04 09:08:04 -05:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-02-17 14:49:00 -05:00
|
|
|
<a href="{{ baseUrl('/logout') }}" class="text-neg">@icon('logout') {{ trans('auth.logout') }}</a>
|
2016-12-04 09:08:04 -05:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|