monitoring: Fix handled color in the host and service detail
refs #5543
This commit is contained in:
parent
e7497f3ac7
commit
2820c1ed64
|
@ -4,7 +4,7 @@ use Icinga\Module\Monitoring\Object\Host;
|
|||
?>
|
||||
<table>
|
||||
<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' : '' ?>">
|
||||
<p>
|
||||
<?= Host::getStateText($object->host_state, true) ?>
|
||||
<br>
|
||||
|
|
|
@ -5,7 +5,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
?>
|
||||
<table>
|
||||
<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' : '' ?>">
|
||||
<p>
|
||||
<?= Host::getStateText($object->host_state, true) ?>
|
||||
<br>
|
||||
|
@ -28,7 +28,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="state-col state-<?= Service::getStateText($object->service_state) ?><?= $object->service_handled ? ' handled' : '' ?>">
|
||||
<td class="state-col state-<?= Service::getStateText($object->service_state) ?><?= $object->service_handled ? '-handled' : '' ?>">
|
||||
<p>
|
||||
<?= Service::getStateText($object->service_state, true) ?>
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue