From 2efea214da9f6b86571d46f9d96d609f894e0901 Mon Sep 17 00:00:00 2001 From: Matthias Jentsch Date: Thu, 9 Apr 2015 17:16:14 +0200 Subject: [PATCH] Don't display piecharts for empty host and service sets refs #8565 --- .../partials/host/objects-header.phtml | 14 ++++------- .../partials/service/objects-header.phtml | 23 ++++++++----------- 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml b/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml index d47bd59e3..95e595ac1 100644 --- a/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml @@ -1,20 +1,14 @@ - -
- translate('States:') ?> -   -
- 0): ?> - +
+ translate('States:') ?> +   +

diff --git a/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml b/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml index e80fe2c0b..e0b330ece 100644 --- a/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml @@ -1,22 +1,17 @@ -
- translate('Service states:') ?> -   -
-
- translate('Host states:') ?> -   -
- - 0): ?> +
+ translate('Service states:') ?> +   +
+
+ translate('Host states:') ?> +   +