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 673d75d62..c24ddae49 100644 --- a/modules/monitoring/application/views/scripts/partials/object/host-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/object/host-header.phtml @@ -6,7 +6,12 @@ use Icinga\Module\Monitoring\Object\Host;
host_state, true) ?>
-
timeSince($object->host_last_state_change) ?>
+
+ timeSince($object->host_last_state_change) ?> + host_state > 0 && (int) $object->host_state_type === 0): ?> +
translate('Soft', 'Soft state') ?> host_attempt ?>
+ +
iconImage()->host($object) ?>