From 861f1667988a5aa6cc600dec0280bab12d16798b Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 28 Feb 2022 17:33:01 +0100 Subject: [PATCH] monitoring/list/hosts: Enhance PDF layout --- .../application/views/scripts/list/hosts.phtml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index 12a9871de..6d7674e28 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -23,6 +23,15 @@ if (! $this->compact): ?> data-icinga-multiselect-url="href('monitoring/hosts/show') ?>" data-icinga-multiselect-controllers="href("monitoring/hosts") ?>" data-icinga-multiselect-data="host"> + + + translate('State') ?> + translate('Host') ?> + addColumns as $col): ?> + escape($col) ?> + + + peekAhead($this->compact) as $host): $hostStateName = Host::getStateText($host->host_state); @@ -76,7 +85,7 @@ if (! $this->compact): ?> hasMore()): ?> -