2015-08-31 00:53:30 +08:00
|
|
|
|
2022-03-27 05:36:05 +08:00
|
|
|
<nav class="active-link-list py-m flex-container-row justify-center wrap">
|
2021-01-17 21:41:43 +08:00
|
|
|
@if(userCan('settings-manage'))
|
2019-08-04 21:26:39 +08:00
|
|
|
<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>
|
2017-08-27 00:17:04 +08:00
|
|
|
@endif
|
2021-01-17 21:41:43 +08:00
|
|
|
@if(userCan('settings-manage') && userCan('users-manage'))
|
2020-09-19 19:06:45 +08:00
|
|
|
<a href="{{ url('/settings/audit') }}" @if($selected == 'audit') class="active" @endif>@icon('open-book'){{ trans('settings.audit') }}</a>
|
|
|
|
@endif
|
2021-01-17 21:41:43 +08:00
|
|
|
@if(userCan('users-manage'))
|
2019-08-04 21:26:39 +08:00
|
|
|
<a href="{{ url('/settings/users') }}" @if($selected == 'users') class="active" @endif>@icon('users'){{ trans('settings.users') }}</a>
|
2017-08-27 00:17:04 +08:00
|
|
|
@endif
|
2021-01-17 21:41:43 +08:00
|
|
|
@if(userCan('user-roles-manage'))
|
2019-08-04 21:26:39 +08:00
|
|
|
<a href="{{ url('/settings/roles') }}" @if($selected == 'roles') class="active" @endif>@icon('lock-open'){{ trans('settings.roles') }}</a>
|
2017-08-27 00:17:04 +08:00
|
|
|
@endif
|
2021-12-07 22:55:11 +08:00
|
|
|
@if(userCan('settings-manage'))
|
|
|
|
<a href="{{ url('/settings/webhooks') }}" @if($selected == 'webhooks') class="active" @endif>@icon('webhooks'){{ trans('settings.webhooks') }}</a>
|
|
|
|
@endif
|
2019-08-25 22:44:51 +08:00
|
|
|
</nav>
|