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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
chore: Refactor deployment index.blade.php for improved readability and rollback handling
Andras Bacsaie341121f617c
diff --git a/resources/views/livewire/project/application/deployment/index.blade.php b/resources/views/livewire/project/application/deployment/index.blade.phpindex 65ba941525..d914eee17d 100644--- a/resources/views/livewire/project/application/deployment/index.blade.php+++ b/resources/views/livewire/project/application/deployment/index.blade.php@@ -62,19 +62,21 @@</div>@else<div class="flex items-center gap-1">- Manual @if (data_get($deployment, 'rollback') === true)- <div class="text-xs">rolled back to </div>+ @if (data_get($deployment, 'rollback') === true)+ Rollback+ @else+ Manual@endif@if (data_get($deployment, 'commit'))<div class="dark:hover:text-white"- x-on:click.stop="goto('{{ $application->gitCommitLink(data_get($deployment, 'commit')) }}')">+ x-on:click.stop="goto('{{ $application->gitCommitLink(data_get($deployment, 'commit')) }}')"><div class="text-xs underline">- ({{ data_get($deployment, 'commit') }})</div>+ (SHA {{ data_get($deployment, 'commit') }})</div></div>@endif</div>@endif- @if (data_get($deployment, 'server_name'))+ @if (data_get($deployment, 'server_name') && $application->additional_servers->count() > 0)<div class="flex gap-1">Server: {{ data_get($deployment, 'server_name') }}</div>