From eb5f238a459bb29686a9a7c31832d7c3c67b3010 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 6 Nov 2026 19:52:05 +0100 Subject: [PATCH] fix(server): show the disabled server message on the localhost page Closes #12475 --- .../server/partials/force-disabled-callout.blade.php | 7 +++++++ .../livewire/server/partials/localhost-general.blade.php | 2 ++ resources/views/livewire/server/show.blade.php | 8 +------- 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 resources/views/livewire/server/partials/force-disabled-callout.blade.php diff --git a/resources/views/livewire/server/partials/force-disabled-callout.blade.php b/resources/views/livewire/server/partials/force-disabled-callout.blade.php new file mode 100644 index 0000000000..8bf68ce1a2 --- /dev/null +++ b/resources/views/livewire/server/partials/force-disabled-callout.blade.php @@ -0,0 +1,7 @@ +@if ($server->canBeReEnabled()) + + Coolify disabled this server because it was unreachable for more than 7 days. Coolify does not connect to it. + Correct the connection settings, then click Validate connection. When the connection works, + the server is enabled again. + +@endif diff --git a/resources/views/livewire/server/partials/localhost-general.blade.php b/resources/views/livewire/server/partials/localhost-general.blade.php index cdbd3ab93b..1de4825e9f 100644 --- a/resources/views/livewire/server/partials/localhost-general.blade.php +++ b/resources/views/livewire/server/partials/localhost-general.blade.php @@ -16,6 +16,8 @@ + @include('livewire.server.partials.force-disabled-callout') + @if ($this->limaStartCommand) @endif - @if ($server->canBeReEnabled()) - - Coolify disabled this server because it was unreachable for more than 7 days. Coolify does - not connect to it. Correct the connection settings, then click - Validate connection. When the connection works, the server is enabled again. - - @endif + @include('livewire.server.partials.force-disabled-callout')