Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(ui): enhance terminal access messaging to clarify server functionality and terminal status

Andras Bacsaid37369dcafbc
diff --git a/resources/views/livewire/project/shared/execute-container-command.blade.php b/resources/views/livewire/project/shared/execute-container-command.blade.php
index 9ff5cccc59..c04af1dd52 100644
--- a/resources/views/livewire/project/shared/execute-container-command.blade.php
+++ b/resources/views/livewire/project/shared/execute-container-command.blade.php
@@ -43,7 +43,7 @@
@if ($type === 'server')
<livewire:server.navbar :server="$servers->first()" />
- @if ($servers->first()->isTerminalEnabled())
+ @if ($servers->first()->isTerminalEnabled() && $servers->first()->isFunctional())
<form class="w-full flex gap-2 items-start" wire:submit="$dispatchSelf('connectToServer')"
wire:init="$dispatchSelf('connectToServer')">
<h2 class="pb-4">Terminal</h2>
@@ -54,7 +54,7 @@
<livewire:project.shared.terminal />
</div>
@else
- <div>Terminal access is disabled on this server.</div>
+ <div>Server is not functional or terminal access is disabled.</div>
@endif
@endif
</div>