monitoring/detail: Show the icon for late check results next to 'Next update'

refs #8378
This commit is contained in:
Eric Lippmann 2015-09-07 14:40:50 +02:00
parent 757c0727c9
commit a52b008a74
1 changed files with 3 additions and 3 deletions

View File

@ -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>