Add conditional display of deployment server name in previews.blade.php

This commit is contained in:
Andras Bacsai 2024-02-11 17:29:14 +01:00
parent 6b62d91f82
commit 48d9df1e43

View File

@ -1,5 +1,9 @@
<div>
<livewire:project.application.preview.form :application="$application" />
@if (count($application->additional_servers) > 0)
<div class="pb-4">Previews will be deployed on <span
class="text-warning">{{ $application->destination->server->name }}</span>.</div>
@endif
<div>
@if ($application->is_github_based())
<div class="flex items-center gap-2">