BookStack/resources/views/partials/_header-dropdown.blade.php

17 lines
806 B
PHP
Raw Normal View History

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 }}">
<span class="name" ng-non-bindable>{{ $currentUser->getShortName(9) }}</span> @icon('caret-down')
2016-12-04 09:08:04 -05:00
</span>
<ul>
<li>
<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>
<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>
<a href="{{ baseUrl('/logout') }}" class="text-neg">@icon('logout') {{ trans('auth.logout') }}</a>
2016-12-04 09:08:04 -05:00
</li>
</ul>
</div>