monitoring: Fix handled color in the host and service detail

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-25 11:37:31 +02:00
parent e7497f3ac7
commit 2820c1ed64
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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>