{{-- Job workspaces (App\Services\RoleDashboard): one per permission dashboard-. Several → tabs. --}} @if (!empty($workspaces)) @if (count($workspaces) > 1) @endif
@foreach ($workspaces as $i => $ws)
{{ $ws['title'] }}
@if (!empty($ws['note']))
{{ $ws['note'] }}
@endif
@foreach ($ws['stats'] as [$label, $value, $icon, $color, $link]) @endforeach
@foreach ($ws['lists'] ?? [$ws['list']] as $list)
{{ $list['title'] }}
@foreach ($list['head'] as $h)@endforeach @forelse ($list['rows'] as $row) @foreach (collect($row)->except(['url', 'danger']) as $cell) @endforeach @empty @endforelse
{{ $h }}
{{ $cell }}
Nothing here right now
@endforeach
Quick links
@foreach ($ws['links'] as [$label, $url]) {{ $label }} @endforeach
@endforeach
@endif