7ba6962707
So that DB/User access is not explicitly enforced. Same for GlobalViewData middleware although that was also just doubling up on ways to access user/auth info. Also cleaned up Localization Middleware doc blocks.
16 lines
No EOL
992 B
PHP
16 lines
No EOL
992 B
PHP
|
|
<nav class="active-link-list">
|
|
@if(userCan('settings-manage'))
|
|
<a href="{{ url('/settings') }}" @if($selected == 'settings') class="active" @endif>@icon('settings'){{ trans('settings.settings') }}</a>
|
|
<a href="{{ url('/settings/maintenance') }}" @if($selected == 'maintenance') class="active" @endif>@icon('spanner'){{ trans('settings.maint') }}</a>
|
|
@endif
|
|
@if(userCan('settings-manage') && userCan('users-manage'))
|
|
<a href="{{ url('/settings/audit') }}" @if($selected == 'audit') class="active" @endif>@icon('open-book'){{ trans('settings.audit') }}</a>
|
|
@endif
|
|
@if(userCan('users-manage'))
|
|
<a href="{{ url('/settings/users') }}" @if($selected == 'users') class="active" @endif>@icon('users'){{ trans('settings.users') }}</a>
|
|
@endif
|
|
@if(userCan('user-roles-manage'))
|
|
<a href="{{ url('/settings/roles') }}" @if($selected == 'roles') class="active" @endif>@icon('lock-open'){{ trans('settings.roles') }}</a>
|
|
@endif
|
|
</nav> |