monitoring/detail: Show the icon for late check results next to 'Next update'
refs #8378
This commit is contained in:
parent
757c0727c9
commit
a52b008a74
|
@ -12,9 +12,6 @@ $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>
|
||||
|
||||
|
@ -57,6 +54,9 @@ $activeChecksEnabled = (bool) $object->active_checks_enabled;
|
|||
echo sprintf($this->translate('expected %s'), $this->timeUntil($object->next_update));
|
||||
}
|
||||
} ?>
|
||||
<?php if ($object->next_update < time()) {
|
||||
echo $this->icon('circle', $this->translate('Check result is late'), array('class' => 'fg-color-critical'));
|
||||
} ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
Loading…
Reference in New Issue