@php $canConfigure = Auth::user()->can('admin:configure'); $canManageAlbums = Auth::user()->can('admin:manage-albums'); $canManageGroups = Auth::user()->can('admin:manage-groups'); $canManageLabels = Auth::user()->can('admin:manage-labels'); $canManageStorage = Auth::user()->can('admin:manage-storage'); $canManageUsers = Auth::user()->can('admin:manage-users'); $canManageComments = Auth::user()->can('admin:manage-comments'); $canManageServices = Auth::user()->can('admin:manage-services'); @endphp @if ($canConfigure || $canManageAlbums || $canManageGroups || $canManageStorage || $canManageUsers)
@lang('admin.manage_widget.panel_header')
@if ($canManageAlbums) @lang('navigation.breadcrumb.albums') @endif @if ($canManageLabels) @lang('navigation.breadcrumb.labels') @endif @if ($canManageComments) @lang('navigation.breadcrumb.comments') @endif @if ($canManageUsers) @lang('navigation.breadcrumb.users') @endif @if ($canManageGroups) @lang('navigation.breadcrumb.groups') @endif @if ($canManageStorage) @lang('navigation.breadcrumb.storage') @endif @if ($canManageServices) @lang('navigation.breadcrumb.services') @endif @if ($canConfigure) @lang('navigation.breadcrumb.settings') @endif
@endif