-
{{ str($container)->beforeLast('-')->headline() }}
+ @if ($resource->type() === 'application')
+
{{ $container }}
+ @else
+
{{ str($container)->beforeLast('-')->headline() }}
+ @endif
+
Server: {{ $server->name }}
@if ($pull_request)
({{ $pull_request }})
@endif
diff --git a/resources/views/livewire/project/shared/logs.blade.php b/resources/views/livewire/project/shared/logs.blade.php
index 3d011e1e8..a505361dd 100644
--- a/resources/views/livewire/project/shared/logs.blade.php
+++ b/resources/views/livewire/project/shared/logs.blade.php
@@ -3,14 +3,20 @@
Logs
- @forelse ($containers as $container)
- @if ($loop->first)
-
Logs
- @endif
-
- @empty
-
No containers are not running.
- @endforelse
+
Logs
+
+ Loading containers...
+
+ @foreach ($servers as $server)
+
+
+ @forelse (data_get($server,'containers',[]) as $container)
+
+ @empty
+
No containers are not running on server: {{$server->name}}
+ @endforelse
+
+ @endforeach
@elseif ($type === 'database')
Logs
@@ -20,9 +26,9 @@
@if ($loop->first)
Logs
@endif
-
+
@empty
-
No containers are not running.
+
No containers are not running.
@endforelse
@elseif ($type === 'service')
@@ -31,9 +37,9 @@
@if ($loop->first)
No containers are not running.
No containers are not running.