monitoring/detail: Show the expected next update if the host or service is not actively checked
refs #8378
This commit is contained in:
parent
24f3d42d96
commit
363f6271d9
|
@ -47,7 +47,11 @@
|
|||
}
|
||||
} ?>
|
||||
<?php if ((int) $object->state !== 99) {
|
||||
echo $this->timeUntil($object->next_check);
|
||||
if ((bool) $object->active_checks_enabled) {
|
||||
echo $this->timeUntil($object->next_check);
|
||||
} else {
|
||||
echo sprintf($this->translate('expected %s'), $this->timeUntil($object->next_update));
|
||||
}
|
||||
} ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue