diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml index e226f96e9..878a93bde 100644 --- a/modules/monitoring/application/views/scripts/list/hostgroups.phtml +++ b/modules/monitoring/application/views/scripts/list/hostgroups.phtml @@ -27,7 +27,7 @@ if (! $this->compact): ?> - +peekAhead($this->compact) as $hostgroup): ?> hosts_total ?> diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index b74f82ab1..9c585d7d4 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -37,7 +37,7 @@ if (! $this->compact): ?> data-icinga-multiselect-controllers="href("monitoring/hosts") ?>" data-icinga-multiselect-data="host"> - peekAhead($this->compact) as $host): $hostStateName = Host::getStateText($host->host_state); $hostLink = $this->href('monitoring/host/show', array('host' => $host->host_name)); ?> diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml index 2828246e0..86fc2aa44 100644 --- a/modules/monitoring/application/views/scripts/list/services.phtml +++ b/modules/monitoring/application/views/scripts/list/services.phtml @@ -38,7 +38,7 @@ if (! $this->compact): ?> data-icinga-multiselect-controllers="href('monitoring/services') ?>" data-icinga-multiselect-data="service,host"> - peekAhead($this->compact) as $service): $serviceLink = $this->href( 'monitoring/service/show', array(