diff --git a/modules/monitoring/application/views/scripts/show/components/checksource.phtml b/modules/monitoring/application/views/scripts/show/components/checksource.phtml index bc90581d1..5405e0d22 100644 --- a/modules/monitoring/application/views/scripts/show/components/checksource.phtml +++ b/modules/monitoring/application/views/scripts/show/components/checksource.phtml @@ -4,21 +4,19 @@ = $this->translate('Check Source') ?>
+ is_reachable !== null) { + if ((bool) $object->is_reachable) { + echo $this->icon('circle', $this->translate('Is reachable'), array('class' => 'fg-color-ok')); + } else { + echo $this->icon('circle', $this->translate('Not reachable'), array('class' => 'fg-color-critical')); + } + } ?> + = $this->escape($object->check_source) ?> + is_reachable !== null): ?> + = (bool) $object->is_reachable ? $this->translate('is reachable') : $this->translate('is not reachable') ?> + +