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
feat: show message when no resources use GitHub App
Andras Bacsaie13a921403ca
diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.phpindex 4f660bc94c..0758afb70d 100644--- a/resources/views/livewire/source/github/change.blade.php+++ b/resources/views/livewire/source/github/change.blade.php@@ -149,51 +149,56 @@</div><div class="pb-4 title">Here you can find all resources that are using this source.</div></div>- <div class="flex flex-col">+ @if ($applications->isEmpty())+ <div class="py-4 text-sm opacity-70">+ No resources are currently using this GitHub App.+ </div>+ @else<div class="flex flex-col">- <div class="overflow-x-auto">- <div class="inline-block min-w-full">- <div class="overflow-hidden">- <table class="min-w-full">- <thead>- <tr>- <th class="px-5 py-3 text-xs font-medium text-left uppercase">- Project- </th>- <th class="px-5 py-3 text-xs font-medium text-left uppercase">- Environment</th>- <th class="px-5 py-3 text-xs font-medium text-left uppercase">Name- </th>- <th class="px-5 py-3 text-xs font-medium text-left uppercase">Type- </th>- </tr>- </thead>- <tbody class="divide-y">- @forelse ($applications->sortBy('name',SORT_NATURAL) as $resource)+ <div class="flex flex-col">+ <div class="overflow-x-auto">+ <div class="inline-block min-w-full">+ <div class="overflow-hidden">+ <table class="min-w-full">+ <thead><tr>- <td class="px-5 py-4 text-sm whitespace-nowrap">- {{ data_get($resource->project(), 'name') }}- </td>- <td class="px-5 py-4 text-sm whitespace-nowrap">- {{ data_get($resource, 'environment.name') }}- </td>- <td class="px-5 py-4 text-sm whitespace-nowrap"><a- class=""- href="{{ $resource->link() }}">{{ $resource->name }}- <x-internal-link /></a>- </td>- <td class="px-5 py-4 text-sm whitespace-nowrap">- {{ str($resource->type())->headline() }}</td>+ <th class="px-5 py-3 text-xs font-medium text-left uppercase">+ Project+ </th>+ <th class="px-5 py-3 text-xs font-medium text-left uppercase">+ Environment</th>+ <th class="px-5 py-3 text-xs font-medium text-left uppercase">Name+ </th>+ <th class="px-5 py-3 text-xs font-medium text-left uppercase">Type+ </th></tr>- @empty- @endforelse- </tbody>- </table>+ </thead>+ <tbody class="divide-y">+ @foreach ($applications->sortBy('name',SORT_NATURAL) as $resource)+ <tr>+ <td class="px-5 py-4 text-sm whitespace-nowrap">+ {{ data_get($resource->project(), 'name') }}+ </td>+ <td class="px-5 py-4 text-sm whitespace-nowrap">+ {{ data_get($resource, 'environment.name') }}+ </td>+ <td class="px-5 py-4 text-sm whitespace-nowrap"><a+ class=""+ href="{{ $resource->link() }}">{{ $resource->name }}+ <x-internal-link /></a>+ </td>+ <td class="px-5 py-4 text-sm whitespace-nowrap">+ {{ str($resource->type())->headline() }}</td>+ </tr>+ @endforeach+ </tbody>+ </table>+ </div></div></div></div></div>- </div>+ @endif</div></div>@endif