@php $backups = $this->getBackups(); $canRestore = auth()->user()?->can('manage_site_backups'); @endphp @if ($backups->isEmpty())

No backups yet

Click "Create Backup Now" to generate your first backup.

@else
@foreach ($backups as $backup) @endforeach
Filename Size Created By Created At Actions
{{ $backup['filename'] }} @unless ($backup['file_exists']) File missing @endunless {{ $backup['size_human'] }} {{ $backup['created_by'] }} {{ $backup['created_at']->format('d M Y, H:i') }}
{{-- Download (only if file exists) --}} @if ($backup['file_exists']) Download @endif {{-- Delete --}} Delete {{-- Restore (manage_site_backups permission, file must exist) --}} @if ($canRestore && $backup['file_exists']) Restore @endif
@endif