diff --git a/resources/views/admin/servers/view/index.blade.php b/resources/views/admin/servers/view/index.blade.php index 23c8e42e0..637c9bd33 100644 --- a/resources/views/admin/servers/view/index.blade.php +++ b/resources/views/admin/servers/view/index.blade.php @@ -47,19 +47,25 @@
{{ $server->uuid }}
{{ $server->cpu }}%
Unlimited
+ @else
+ {{ $server->cpu }}%
+ @endif
+ {{ $server->threads }}
@else
- n/a
+ Not Set
@endif
{{ $server->memory }}MB
/ {{ $server->swap }}MB
Unlimited
+ @else
+ {{ $server->memory }}MB
+ @endif
+ /
+ @if($server->swap === 0)
+ Not Set
+ @elseif($server->swap === -1)
+ Unlimited
+ @else
+ {{ $server->swap }}MB
+ @endif
+