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')