Skip to content

Commit

Permalink
monitoring/detail: Show the expected next update if the host or servi…
Browse files Browse the repository at this point in the history
…ce is not actively checked

refs #8378
  • Loading branch information
lippserd committed Sep 4, 2015
1 parent 24f3d42 commit 363f627
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -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>
Expand Down

0 comments on commit 363f627

Please sign in to comment.