From b3ed167ed935c485bcb3b49647c2386c86e38325 Mon Sep 17 00:00:00 2001 From: cp6 Date: Sat, 5 Mar 2022 11:28:28 +1100 Subject: [PATCH] Updated servers show blade Updated servers show blade --- resources/views/servers/show.blade.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/resources/views/servers/show.blade.php b/resources/views/servers/show.blade.php index 1cbee4e..83b3781 100644 --- a/resources/views/servers/show.blade.php +++ b/resources/views/servers/show.blade.php @@ -66,11 +66,23 @@ RAM - {{ $server_extras[0]->ram }} {{ $server_extras[0]->ram_type }} + + @if(isset($server_extras[0]->ram)) + {{ $server_extras[0]->ram }} {{ $server_extras[0]->ram_type }} + @else + {{ $server->ram }} {{ $server->ram_type }} + @endif + Disk - {{ $server_extras[0]->disk }} {{ $server_extras[0]->disk_type }} + + @if(isset($server_extras[0]->disk)) + {{ $server_extras[0]->disk }} {{ $server_extras[0]->disk_type }} + @else + {{ $server->disk }} {{ $server->disk_type }} + @endif + Bandwidth