+
@svg('heroicon-o-document-duplicate', 'h-5 w-5 text-purple-600 dark:text-purple-400')
@elseif ($backupTask->isDatabaseType())
-
+
@svg('heroicon-o-circle-stack', 'h-5 w-5 text-cyan-600 dark:text-cyan-400')
@endif
@if ($backupTask->tags()->exists())
-
+
@svg('heroicon-o-tag', 'h-5 w-5 text-gray-400 dark:text-gray-600 inline')
@endif
@@ -29,22 +33,43 @@
{{ $backupTask->backupDestination->label }} ({{ $backupTask->backupDestination->type() }})
- @if ($backupTask->isPaused())
- @svg('heroicon-o-exclamation-triangle', 'h-5 w-5 text-red-600 dark:text-red-400 inline mr-2')
+ @if ($backupTask->isPaused())
+ @svg('heroicon-o-exclamation-triangle', 'h-5 w-5 text-red-600 dark:text-red-400 inline mr-2')
{{ __('Paused') }}
@else
{{ ucfirst($backupTask->status) }}
- @endif
+ @endif
- {{ $backupTask->last_run_at ? $backupTask->last_run_at->timezone(Auth::user()->timezone ?? config('app.timezone'))->format('d F Y H:i') : __('Never') }}
+
+
+ {{ __('Scheduled') }}:
+
+
+
+ @if($backupTask->usingCustomCronExpression())
+ ({{ $backupTask->custom_cron_expression }})
+ @else
+ {{ ucfirst($backupTask->frequency) }} {{ __('at') }} {{ $backupTask->time_to_run_at }}
+ @endif
+
+
+
+
+ {{ __('Last ran') }}:
+
+
+ {{ $backupTask->last_run_at ? $backupTask->last_run_at->timezone(Auth::user()->timezone ?? config('app.timezone'))->format('d F Y H:i') : __('Never') }}
+
+
-
+
@if ($backupTaskLog)
+ x-on:click.prevent="$dispatch('open-modal', 'backup-task-{{ $backupTask->id }}')"
+ iconOnly title="{{ __('Click to view this log') }}">
@svg('heroicon-o-document-text', 'h-4 w-4')
{{ __('View Log') }}
@@ -55,26 +80,27 @@
{{ __('View Log') }}
@endif
-
+
{{ __('Update Backup Task') }}
-
+
@if ($backupTaskLog)
-
+
@endif
@if ($backupTask->tags()->exists())
-
+
@endif
diff --git a/resources/views/livewire/backup-tasks/index-table.blade.php b/resources/views/livewire/backup-tasks/index-table.blade.php
index de986bf7..da8cc36d 100644
--- a/resources/views/livewire/backup-tasks/index-table.blade.php
+++ b/resources/views/livewire/backup-tasks/index-table.blade.php
@@ -35,7 +35,7 @@
{{ __('Status') }}
- {{ __('Last Run') }}
+ {{ __('Time') }}
{{ __('Actions') }}