From 6c60305617dd14d7b0ed3ad10cc58d9d215aac82 Mon Sep 17 00:00:00 2001 From: Charles Morgan Date: Sun, 24 May 2020 00:57:30 -0400 Subject: [PATCH] Show Unlimited instead of 0, admin view Guess i missed this one when i set everything to show unlimited when its 0 / -1. Shows Unlimited disk space instead of 0 on admin about page. --- resources/views/admin/servers/view/index.blade.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/views/admin/servers/view/index.blade.php b/resources/views/admin/servers/view/index.blade.php index 637c9bd33..b8c17fb01 100644 --- a/resources/views/admin/servers/view/index.blade.php +++ b/resources/views/admin/servers/view/index.blade.php @@ -97,7 +97,13 @@ Disk Space - {{ $server->disk }}MB + + @if($server->disk === 0) + Unlimited + @else + {{ $server->disk }}MB + @endif + Block IO Weight