From 165275cb6805b2b53602649aacedb99ae3385893 Mon Sep 17 00:00:00 2001
From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com>
Date: Fri, 16 Aug 2024 18:01:55 +0200
Subject: [PATCH] formatting
---
.../scheduled-task/executions.blade.php | 54 +++++++++----------
1 file changed, 26 insertions(+), 28 deletions(-)
diff --git a/resources/views/livewire/project/shared/scheduled-task/executions.blade.php b/resources/views/livewire/project/shared/scheduled-task/executions.blade.php
index 1129b4b11..58b53688d 100644
--- a/resources/views/livewire/project/shared/scheduled-task/executions.blade.php
+++ b/resources/views/livewire/project/shared/scheduled-task/executions.blade.php
@@ -1,34 +1,32 @@
@forelse($executions as $execution)
- @if (data_get($execution, 'id') == $selectedKey)
-
- @if (data_get($execution, 'message'))
-
-
{{ data_get($execution, 'message') }}
-
- @else
-
No output was recorded for this execution.
- @endif
-
+ @if (data_get($execution, 'id') == $selectedKey)
+
+ @endif
+
+ data_get($execution, 'id') == $selectedKey,
+ 'border-green-500' => data_get($execution, 'status') === 'success',
+ 'border-red-500' => data_get($execution, 'status') === 'failed',
])>
- @if (data_get($execution, 'status') === 'running')
-
-
-
- @endif
- Status: {{ data_get($execution, 'status') }}
- Started At:
- {{ $this->formatDateInServerTimezone(data_get($execution, 'created_at', now())) }}
-
-
+ @if (data_get($execution, 'status') === 'running')
+
+
+
+ @endif
+
Status: {{ data_get($execution, 'status') }}
+
Started At:
+ {{ $this->formatDateInServerTimezone(data_get($execution, 'created_at', now())) }}
+
+
@empty
-
No executions found.
+
No executions found.
@endforelse
-
\ No newline at end of file
+