monitoring/detail: Show an icon if the check result is late

refs #8378
This commit is contained in:
Eric Lippmann 2015-09-07 11:08:37 +02:00
parent e155e1514a
commit d21f635819

View File

@ -12,6 +12,9 @@ $activeChecksEnabled = (bool) $object->active_checks_enabled;
<?php if ((int) $object->state !== 99) {
echo $this->timeAgo($object->last_check);
} ?>
<?php if ($object->next_update < time()) {
echo $this->icon('circle', $this->translate('Check result is late'), array('class' => 'fg-color-critical'));
} ?>
</td>
</tr>