mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
c0c9f3b5eb
commit
b325c4769a
@ -6,7 +6,12 @@ use Icinga\Module\Monitoring\Object\Host;
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="state-col state-<?= Host::getStateText($object->host_state) ?><?= $object->host_handled ? ' handled' : '' ?>">
|
<td class="state-col state-<?= Host::getStateText($object->host_state) ?><?= $object->host_handled ? ' handled' : '' ?>">
|
||||||
<div class="state-header"><?= Host::getStateText($object->host_state, true) ?></div>
|
<div class="state-header"><?= Host::getStateText($object->host_state, true) ?></div>
|
||||||
<div class="state-meta"><?= $this->timeSince($object->host_last_state_change) ?></div>
|
<div class="state-meta">
|
||||||
|
<?= $this->timeSince($object->host_last_state_change) ?>
|
||||||
|
<?php if ((int) $object->host_state > 0 && (int) $object->host_state_type === 0): ?>
|
||||||
|
<div><?= $this->translate('Soft', 'Soft state') ?> <?= $object->host_attempt ?></div>
|
||||||
|
<?php endif ?>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?= $this->iconImage()->host($object) ?>
|
<?= $this->iconImage()->host($object) ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user