You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
@php
|
|
|
|
|
|
|
|
$li = $dropdown ? '' : '<li class="nav-item ml-1 d-md-none">';
|
|
|
|
$endli = $dropdown ? '' : '</li>';
|
|
|
|
$aclass = $dropdown ? 'dropdown-item' : 'nav-link';
|
|
|
|
|
|
|
|
@endphp
|
|
|
|
|
|
|
|
{!! $li !!}
|
|
|
|
<a class="{{ $aclass }}" href="{{ route('profile.edit') }}">
|
|
|
|
<i class="fa-sliders fa-pr"></i>{{ __('Profile') }}
|
|
|
|
</a>
|
|
|
|
{!! $endli !!}
|
|
|
|
|
|
|
|
{!! $li !!}
|
|
|
|
<a class="{{ $aclass }}" href="{{ route('account.edit') }}">
|
|
|
|
<i class="fa-key-modern fa-pr"></i>{{ __('Account') }}
|
|
|
|
</a>
|
|
|
|
{!! $endli !!}
|
|
|
|
|
|
|
|
{!! $li !!}
|
|
|
|
<a class="{{ $aclass }}" href="{{ route('logout') }}"
|
|
|
|
onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
|
|
|
{{-- this is some hack against CSRF - logout only via POST --}}
|
|
|
|
<i class="fa-sign-out fa-pr"></i>{{ __('Logout') }}
|
|
|
|
</a>
|
|
|
|
{!! $endli !!}
|