= Host::getStateText($object->host_state, true) ?>
diff --git a/modules/monitoring/application/views/scripts/show/components/checksource.phtml b/modules/monitoring/application/views/scripts/show/components/checksource.phtml
index 011288542..5e65e9d33 100644
--- a/modules/monitoring/application/views/scripts/show/components/checksource.phtml
+++ b/modules/monitoring/application/views/scripts/show/components/checksource.phtml
@@ -4,19 +4,17 @@
= $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') ?>
-
-
+ 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') ?>
+
|