From 14211bd22d064d033eceee9e8e28c390350a54d2 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 17 Sep 2016 15:34:28 -0400 Subject: [PATCH] Only show normal delete if installed successfully Daemon cleans up failed installs. --- resources/views/admin/servers/view.blade.php | 28 +++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/resources/views/admin/servers/view.blade.php b/resources/views/admin/servers/view.blade.php index 1f948b1bd..a54ed3d8f 100644 --- a/resources/views/admin/servers/view.blade.php +++ b/resources/views/admin/servers/view.blade.php @@ -478,21 +478,23 @@
-
-
-
-
- {!! csrf_field() !!} - {!! method_field('DELETE') !!} - -
-
-
-
Deleting a server is an irreversible action. All data will be immediately removed relating to this server.
+ @if($server->installed === 1) +
+
+
+
+ {!! csrf_field() !!} + {!! method_field('DELETE') !!} + +
+
+
+
Deleting a server is an irreversible action. All data will be immediately removed relating to this server.
+
-
-
+
+ @endif