BookStack/resources/views/settings/navbar.blade.php

18 lines
1,019 B
PHP
Raw Normal View History

2015-08-30 18:53:30 +02:00
<div class="faded-small toolbar">
2015-08-30 18:53:30 +02:00
<div class="container">
<div class="row">
<div class="col-md-12 setting-nav nav-tabs">
@if($currentUser->can('settings-manage'))
2016-12-04 15:08:04 +01:00
<a href="{{ baseUrl('/settings') }}" @if($selected == 'settings') class="selected text-button" @endif><i class="zmdi zmdi-settings"></i>{{ trans('settings.settings') }}</a>
@endif
@if($currentUser->can('users-manage'))
2016-12-04 15:08:04 +01:00
<a href="{{ baseUrl('/settings/users') }}" @if($selected == 'users') class="selected text-button" @endif><i class="zmdi zmdi-accounts"></i>{{ trans('settings.users') }}</a>
@endif
@if($currentUser->can('user-roles-manage'))
2016-12-04 15:08:04 +01:00
<a href="{{ baseUrl('/settings/roles') }}" @if($selected == 'roles') class="selected text-button" @endif><i class="zmdi zmdi-lock-open"></i>{{ trans('settings.roles') }}</a>
@endif
2015-08-30 18:53:30 +02:00
</div>
</div>
</div>
</div>