lasthourcloud/resources/views/livewire/project/database/scheduled-backups.blade.php

13 lines
604 B
PHP
Raw Normal View History

<div class="flex flex-wrap gap-2">
@forelse($database->scheduledBackups as $backup)
2023-08-11 18:19:42 +00:00
<a class="flex flex-col box"
href="{{ route('project.database.backups.executions', [...$parameters, 'backup_uuid' => $backup->uuid]) }}">
<div>Frequency: {{ $backup->frequency }}</div>
<div>Last backup: {{ data_get($backup->latest_log, 'status', 'No backup yet') }}</div>
<div>Number of backups to keep (locally): {{ $backup->number_of_backups_locally }}</div>
</a>
@empty
<div>No scheduled backups configured.</div>
@endforelse
</div>