diff --git a/modules/monitoring/application/views/scripts/partials/service/statusicons.phtml b/modules/monitoring/application/views/scripts/partials/service/statusicons.phtml index 8859bf189..e73988bf6 100644 --- a/modules/monitoring/application/views/scripts/partials/service/statusicons.phtml +++ b/modules/monitoring/application/views/scripts/partials/service/statusicons.phtml @@ -1,28 +1,25 @@ object->service_handled && $this->object->service_state > 0) { - $icons[] = $this->icon('attention-alt', $this->translate('Unhandled')); + echo $this->icon('attention-alt', $this->translate('Unhandled')); } if ($this->object->service_acknowledged && !$this->object->service_in_downtime) { - $icons[] = $this->icon('ok', $this->translate('Acknowledged')); + echo $this->icon('ok', $this->translate('Acknowledged')); } if (! $this->object->service_notifications_enabled) { - $icons[] = $this->icon('bell-off-empty', $this->translate('Notifications Disabled')); + echo $this->icon('bell-off-empty', $this->translate('Notifications Disabled')); } if ($this->object->service_in_downtime) { - $icons[] = $this->icon('plug', $this->translate('In Downtime')); + echo $this->icon('plug', $this->translate('In Downtime')); } if (! $this->object->service_active_checks_enabled) { if ($this->object->service_passive_checks_enabled) { - $icons[] = $this->icon('eye-off', $this->translate('Active Checks Disabled')); + echo $this->icon('eye-off', $this->translate('Active Checks Disabled')); } else { - $icons[] = $this->icon('eye-off', $this->translate('Active And Passive Checks Disabled')); + echo $this->icon('eye-off', $this->translate('Active And Passive Checks Disabled')); } } - -?> \ No newline at end of file