From d0482d66c289abe1e29fa2d03154a7d2d5e90b17 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 10 Apr 2024 21:11:41 +0200 Subject: [PATCH] Refactor code for displaying command output in deployment show view --- .../livewire/project/application/deployment/show.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/project/application/deployment/show.blade.php b/resources/views/livewire/project/application/deployment/show.blade.php index 0804bd535..dda872c5e 100644 --- a/resources/views/livewire/project/application/deployment/show.blade.php +++ b/resources/views/livewire/project/application/deployment/show.blade.php @@ -85,8 +85,8 @@ @if (decode_remote_command_output($application_deployment_queue)->count() > 0) @foreach (decode_remote_command_output($application_deployment_queue) as $line) $line['hidden'], - 'text-red-500 font-bold' => $line['type'] == 'stderr', + 'dark:text-warning whitespace-pre-line' => $line['hidden'], + 'text-red-500 font-bold whitespace-pre-line' => $line['type'] == 'stderr', ])>[{{ $line['timestamp'] }}] @if ($line['hidden'])
COMMAND: {{ $line['command'] }}
OUTPUT : @endif @if (str($line['output'])->contains('http://') || str($line['output'])->contains('https://'))