From 3e02007150f98870931489743efff83e74f31977 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 28 Oct 2015 11:11:03 +0100 Subject: [PATCH] monitoring: Fix host-header markup refs #5543 --- .../scripts/partials/object/host-header.phtml | 43 ++++++++----------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/modules/monitoring/application/views/scripts/partials/object/host-header.phtml b/modules/monitoring/application/views/scripts/partials/object/host-header.phtml index 35f17489a..673d75d62 100644 --- a/modules/monitoring/application/views/scripts/partials/object/host-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/object/host-header.phtml @@ -5,33 +5,26 @@ use Icinga\Module\Monitoring\Object\Host;
-

- host_state, true) ?> -
- timeSince($object->host_last_state_change) ?> -

+
host_state, true) ?>
+
timeSince($object->host_last_state_change) ?>
-

- iconImage()->host($object) ?> - escape($object->host_display_name) ?> - host_display_name !== $object->host_name): ?> - (escape($object->host_name) ?>) - - host_address6 && $object->host_address6 !== $object->host_name): ?> -
- - escape($object->host_address6) ?> - - - host_address && $object->host_address !== $object->host_name): ?> -
- - escape($object->host_address) ?> - - - render('partials/host/statusicons.phtml') ?> -

+ iconImage()->host($object) ?> + escape($object->host_display_name) ?> + host_display_name !== $object->host_name): ?> + (escape($object->host_name) ?>) + + render('partials/host/statusicons.phtml') ?> + host_address6 && $object->host_address6 !== $object->host_name): ?> +
+ escape($object->host_address6) ?> +
+ + host_address && $object->host_address !== $object->host_name): ?> +
+ escape($object->host_address) ?> +
+