@php $statusLabelText = 'Editing, but not yet saved'; $statusLabelStyle = 'label-default-status'; switch ($item->status) { case 'pending': $statusLabelText = 'Pending and saved'; break; case 'archived': $statusLabelText = 'Archived'; break; case 'live': $statusLabelText = 'Live'; $statusLabelStyle = 'label-live-status'; break; } @endphp