@use('Cachet\Enums\IncidentStatusEnum') @props([ 'date', 'incidents', ]) {{ \Cachet\Facades\CachetView::renderHook(\Cachet\View\RenderHook::STATUS_PAGE_INCIDENTS_BEFORE) }}

@forelse($incidents as $incident)
$incident->updates->isNotEmpty(), 'rounded-lg' => $incident->updates->isEmpty(), ])> @if ($incident->components()->exists())
{{ $incident->components->pluck('name')->join(', ', ' and ') }}
@endif

{{ $incident->name}}

@auth @endauth
{{ $incident->timestamp->diffForHumans() }} —
@foreach ($incident->updates as $update)

{{ $update->status->getLabel() }}

{{ $update->created_at->diffForHumans() }} —
{!! $update->formattedMessage() !!}
@endforeach
{{ $incident->timestamp->diffForHumans() }} —
{!! $incident->formattedMessage() !!}
@empty
{{ __('cachet::incident.no_incidents_reported') }}
@endforelse
{{ \Cachet\Facades\CachetView::renderHook(\Cachet\View\RenderHook::STATUS_PAGE_INCIDENTS_AFTER) }}