{{-- "Portfolio" — projects the current person has a stake in (owner/manager/ member), each with a progress percentage and a segmented bar showing the real per-project statuses (not the generic category palette — projects can define their own statuses/colors, and that's what this card shows). $this->myProjects() comes from the page class (Dashboard.php) — each entry is `{project, total, progressPercent, statusBreakdown}`, where statusBreakdown is `[{status, count}]` sorted by the status's own position. --}}
@forelse ($this->myProjects() as $entry)
{{ $entry->project->name }} @if ($entry->hasWarning) @endif {{ $entry->progressPercent }}%
@if ($entry->total > 0)
@foreach ($entry->statusBreakdown as $item) @endforeach
@foreach ($entry->statusBreakdown as $item)
{{ $item->count }} {{ $item->status->label }}
@endforeach
@else

Aucun élément.

@endif
@empty
Aucun projet.
@endforelse