diff --git a/resources/views/livewire/dashboard.blade.php b/resources/views/livewire/dashboard.blade.php index 472b3e9961..5de545df33 100644 --- a/resources/views/livewire/dashboard.blade.php +++ b/resources/views/livewire/dashboard.blade.php @@ -83,14 +83,16 @@ @endif -
+

{{ $project->name }}

-

- {{ $project->description }} -

+ @if (filled($project->description)) +

+ {{ $project->description }} +

+ @endif
@@ -204,14 +206,16 @@ class="flex size-8 shrink-0 items-center justify-center rounded-lg border border-neutral-200 bg-neutral-50 text-neutral-500 dark:border-white/[0.1] dark:bg-white/[0.04] dark:text-fg-dim"> -
+

{{ $server->name }}

-

- {{ $server->description }} -

+ @if (filled($server->description)) +

+ {{ $server->description }} +

+ @endif
@if ($serverStatusType !== 'success')
-
+

+ x-show="project.description?.trim()" + x-text="project.description">

diff --git a/resources/views/livewire/server/index.blade.php b/resources/views/livewire/server/index.blade.php index 5258673700..30eca6ac13 100644 --- a/resources/views/livewire/server/index.blade.php +++ b/resources/views/livewire/server/index.blade.php @@ -147,13 +147,15 @@ class="flex size-8 shrink-0 items-center justify-center rounded-lg border border-neutral-200 bg-neutral-50 text-neutral-500 dark:border-white/[0.1] dark:bg-white/[0.04] dark:text-fg-dim"> -
+

{{ $serverRow['name'] }}

-

- {{ $serverRow['description'] }} -

+ @if (filled($serverRow['description'])) +

+ {{ $serverRow['description'] }} +

+ @endif
@if ($serverRow['statusType'] !== 'success')
-
+

{{ $privateKey->name }} @@ -77,9 +77,11 @@ @endif

-

- {{ $privateKey->description }} -

+ @if (filled($privateKey->description)) +

+ {{ $privateKey->description }} +

+ @endif
diff --git a/resources/views/livewire/shared-variables/environment/index.blade.php b/resources/views/livewire/shared-variables/environment/index.blade.php index 645f2e61be..ed8e38407a 100644 --- a/resources/views/livewire/shared-variables/environment/index.blade.php +++ b/resources/views/livewire/shared-variables/environment/index.blade.php @@ -33,7 +33,7 @@ href="{{ route('shared-variables.environment.show', ['project_uuid' => $project->uuid, 'environment_uuid' => $environment->uuid]) }}" {{ wireNavigate() }}>
-

{{ $environment->name }}

{{ $environment->description }}

+

{{ $environment->name }}

@if (filled($environment->description))

{{ $environment->description }}

@endif
@endforeach diff --git a/resources/views/livewire/shared-variables/project/index.blade.php b/resources/views/livewire/shared-variables/project/index.blade.php index d19fc39f5e..e1ac890a52 100644 --- a/resources/views/livewire/shared-variables/project/index.blade.php +++ b/resources/views/livewire/shared-variables/project/index.blade.php @@ -31,9 +31,11 @@ @endif
-
+

{{ $project->name }}

-

{{ $project->description }}

+ @if (filled($project->description)) +

{{ $project->description }}

+ @endif