diff --git a/modules/monitoring/application/views/scripts/show/components/header.phtml b/modules/monitoring/application/views/scripts/show/components/header.phtml index ccf7d2d5e..25ed83cfd 100644 --- a/modules/monitoring/application/views/scripts/show/components/header.phtml +++ b/modules/monitoring/application/views/scripts/show/components/header.phtml @@ -3,7 +3,7 @@ use Icinga\Module\Monitoring\Object\Host; use Icinga\Module\Monitoring\Object\Service; -$showService = $object->getType() === $object::TYPE_SERVICE; +$isService = $object->getType() === $object::TYPE_SERVICE; ?> compact): ?> @@ -11,7 +11,7 @@ $showService = $object->getType() === $object::TYPE_SERVICE;
> + | >
= strtoupper(Host::getStateText($object->host_state, true)); ?> = $this->prefixedTimeSince($object->host_last_state_change, true) ?> |
@@ -21,7 +21,7 @@ $showService = $object->getType() === $object::TYPE_SERVICE;
= strtoupper(Service::getStateText($object->service_state, true)); ?> |