diff --git a/modules/monitoring/application/views/scripts/list/servicegrid.phtml b/modules/monitoring/application/views/scripts/list/servicegrid.phtml
index a2e7502ea3..6fb6db63ec 100644
--- a/modules/monitoring/application/views/scripts/list/servicegrid.phtml
+++ b/modules/monitoring/application/views/scripts/list/servicegrid.phtml
@@ -1,28 +1,28 @@
-compact): ?>
+if (! $this->compact): ?>
= $this->tabs; ?>
-
- = $this->translate('Sort by'); ?> = $this->sortControl; ?>
-
+ = $this->sortBox; ?>
+ = $this->limiter; ?>
+ = $this->paginator; ?>
+ = $this->filterEditor; ?>
-
pivot->toArray();
+if (count($pivotData) === 0) {
+ echo $this->translate('No services found matching the filter') . '';
+ return;
+}
+
$hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . ')';
?>
-
-
- = $this->translate('No Services matching the filter'); ?>
-
-
+