@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'); @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 ($canManageUsers) @lang('navigation.breadcrumb.users') @endif @if ($canManageGroups) @lang('navigation.breadcrumb.groups') @endif @if ($canManageStorage) @lang('navigation.breadcrumb.storage') @endif @if ($canConfigure) @lang('navigation.breadcrumb.settings') @endif
@endif