From e37b3c55272ee0b36135448a3d1b81edbf7b6771 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 28 Oct 2015 11:07:45 +0100 Subject: [PATCH] monitoring: Fix swapped icon images in the service-header fixes #10419 --- .../views/scripts/partials/object/service-header.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 d0333a086..5bb100f2c 100644 --- a/modules/monitoring/application/views/scripts/partials/object/service-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/object/service-header.phtml @@ -10,7 +10,7 @@ use Icinga\Module\Monitoring\Object\Service;
timeSince($object->host_last_state_change) ?>
- iconImage()->service($object) ?> + iconImage()->host($object) ?> escape($object->host_display_name) ?> host_display_name !== $object->host_name): ?> (escape($object->host_name) ?>) @@ -34,7 +34,7 @@ use Icinga\Module\Monitoring\Object\Service;
timeSince($object->service_last_state_change) ?>
- iconImage()->host($object) ?> + iconImage()->service($object) ?> translate('Service') ?>: escape($object->service_display_name) ?> service_display_name !== $object->service_description): ?> (escape($object->service_description) ?>)