mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
Don't show last status change for services if they're in state pending
This commit is contained in:
parent
2854859a67
commit
19cae4b751
@ -56,12 +56,15 @@ foreach ($services as $service):
|
|||||||
?>
|
?>
|
||||||
<tr class="state <?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
<tr class="state <?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
||||||
<td class="state">
|
<td class="state">
|
||||||
<strong><?= Service::getStateText($service->service_state, true); ?></strong><br />
|
<strong><?= Service::getStateText($service->service_state, true); ?></strong>
|
||||||
<?= $this->timeSince($service->service_last_state_change) ?>
|
<?php if ((int) $service->service_state !== 99): ?>
|
||||||
<?php if ($service->service_state > 0 && (int) $service->service_state_type === 0): ?>
|
<br />
|
||||||
<br />
|
<?= $this->timeSince($service->service_last_state_change) ?>
|
||||||
<strong>Soft <?= $service->service_attempt ?></strong>
|
<?php if ((int) $service->service_state > 0 && (int) $service->service_state_type === 0): ?>
|
||||||
<?php endif ?>
|
<br />
|
||||||
|
<strong>Soft <?= $service->service_attempt ?></strong>
|
||||||
|
<?php endif ?>
|
||||||
|
<?php endif ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user