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 9ca251a8d..35f17489a 100644 --- a/modules/monitoring/application/views/scripts/partials/object/host-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/object/host-header.phtml @@ -14,13 +14,21 @@ use Icinga\Module\Monitoring\Object\Host;

iconImage()->host($object) ?> - escape($object->host_display_name) ?> + escape($object->host_display_name) ?> host_display_name !== $object->host_name): ?> - (escape($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) ?> + + escape($object->host_address) ?> + render('partials/host/statusicons.phtml') ?>

diff --git a/modules/monitoring/application/views/scripts/partials/object/service-header.phtml b/modules/monitoring/application/views/scripts/partials/object/service-header.phtml index ee8563645..4a34113fe 100644 --- a/modules/monitoring/application/views/scripts/partials/object/service-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/object/service-header.phtml @@ -15,13 +15,21 @@ use Icinga\Module\Monitoring\Object\Service;

iconImage()->service($object) ?> - escape($object->host_display_name) ?> + escape($object->host_display_name) ?> host_display_name !== $object->host_name): ?> - (escape($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') ?>

@@ -38,9 +46,9 @@ use Icinga\Module\Monitoring\Object\Service;

iconImage()->host($object) ?> - translate('Service') ?>: escape($object->service_display_name) ?> + translate('Service') ?>: escape($object->service_display_name) ?> service_display_name !== $object->service_description): ?> - (escape($object->service_description) ?>) + (escape($object->service_description) ?>) render('partials/service/statusicons.phtml') ?>