@if($runs->isNotEmpty())
@foreach ($runs as $run)

{{ ucfirst($run->action) }} {{ ucfirst(str_replace('_', ' ', $run->resource)) }}

@if($run->status === 'pending') Starting... @elseif($run->status === 'running') Processing... @endif

{{ $run->processed_items }} / {{ $run->total_items }}
{{ $run->total_items > 0 ? round(($run->processed_items / $run->total_items) * 100) : 0 }}%
@if ($run->succeeded > 0) ✓ {{ $run->succeeded }} succeeded @endif @if ($run->failed > 0) ✗ {{ $run->failed }} failed @endif @if ($run->skipped > 0) ⊘ {{ $run->skipped }} skipped @endif
{{ $run->created_at->diffForHumans(null, true, true) }}
@endforeach
@endif