From e197907323da3dbe6f104b281bf0cc99e8c41ddf Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 24 Sep 2015 15:11:20 +0200 Subject: [PATCH] monitoring: Fix stupid thead creation in the lit/hostgroups view script Drunk? refs #5543 --- .../views/scripts/list/hostgroups.phtml | 32 +++++++------------ 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml index 93eeecdb3..d6f048810 100644 --- a/modules/monitoring/application/views/scripts/list/hostgroups.phtml +++ b/modules/monitoring/application/views/scripts/list/hostgroups.phtml @@ -11,25 +11,21 @@ if (! $this->compact): ?>
- - - - +hasResult()): ?> +

translate('No host groups found matching the filter.') ?>

+ + +
- - - - - - + + + + + + - -hosts_down_unhandled) { $handled = false; $state = Host::STATE_DOWN; @@ -464,7 +460,6 @@ if ($hostgroup->hosts_down_unhandled) { -hasResult()): ?>
translate('Last Problem') ?>translate('Host Group') ?>translate('Total Hosts') ?>translate('Host States') ?>translate('Total Services') ?>translate('Service States') ?>translate('Last Problem') ?>translate('Host Group') ?>translate('Total Hosts') ?>translate('Host States') ?>translate('Total Services') ?>translate('Service States') ?>
hasMore()): ?> @@ -478,7 +473,4 @@ if ($hostgroup->hosts_down_unhandled) { ) ) ?> - - translate('No hostgroups found matching the filter') ?> -