From de436d3c8394abc7983d0fbe0d823d134a1457f8 Mon Sep 17 00:00:00 2001 From: kasper Franz Date: Mon, 17 Apr 2017 20:26:45 +0200 Subject: [PATCH] show Suspended server in overview fixes #386 (#388) * show Suspended server in overview fixes #386 * changed to use just check instead of being specific for 1 --- CHANGELOG.md | 1 + resources/themes/pterodactyl/base/index.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 440d21e52..8e89725e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines. ## v0.6.0-beta.3 (Courageous Carniadactylus) ### Fixed +* `[beta.2]` — Suspended servers now show as suspended. * `[beta.2]` — Corrected the information when a task has not run yet. * `[beta.2]` — Fixes filemanager 404 when editing a file within a directory. * `[beta.2]` — Fixes exception in tasks when deleting a server. diff --git a/resources/themes/pterodactyl/base/index.blade.php b/resources/themes/pterodactyl/base/index.blade.php index c8da334db..2bdc5559d 100644 --- a/resources/themes/pterodactyl/base/index.blade.php +++ b/resources/themes/pterodactyl/base/index.blade.php @@ -62,7 +62,7 @@ @lang('strings.status') @foreach($servers as $server) - + description)) rowspan="2" @endif>{{ $server->uuidShort }} {{ $server->name }} {{ $server->node->name }} @@ -79,7 +79,7 @@ @endif - @if($server->suspended === 1) + @if($server->suspended) @lang('strings.suspended') @else