mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
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>
|
<table>
|
||||||
<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' : '' ?>">
|
||||||
<p>
|
<p>
|
||||||
<?= Host::getStateText($object->host_state, true) ?>
|
<?= Host::getStateText($object->host_state, true) ?>
|
||||||
<br>
|
<br>
|
||||||
|
@ -5,7 +5,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
?>
|
?>
|
||||||
<table>
|
<table>
|
||||||
<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' : '' ?>">
|
||||||
<p>
|
<p>
|
||||||
<?= Host::getStateText($object->host_state, true) ?>
|
<?= Host::getStateText($object->host_state, true) ?>
|
||||||
<br>
|
<br>
|
||||||
@ -28,7 +28,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<p>
|
||||||
<?= Service::getStateText($object->service_state, true) ?>
|
<?= Service::getStateText($object->service_state, true) ?>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user