diff --git a/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml b/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
index d47bd59e3..95e595ac1 100644
--- a/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
+++ b/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
@@ -1,20 +1,14 @@
-
-
- = $this->translate('States:') ?>
- = $hostStatesPieChart; ?>
-
-
0): ?>
-
+
+ = $this->translate('States:') ?>
+ = $hostStatesPieChart; ?>
+
diff --git a/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml b/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
index e80fe2c0b..e0b330ece 100644
--- a/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
+++ b/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
@@ -1,22 +1,17 @@
-
- = $this->translate('Service states:') ?>
- = $serviceStatesPieChart; ?>
-
-
- = $this->translate('Host states:') ?>
- = $hostStatesPieChart; ?>
-
-
-
0): ?>
+
+ = $this->translate('Service states:') ?>
+ = $serviceStatesPieChart; ?>
+
+
+ = $this->translate('Host states:') ?>
+ = $hostStatesPieChart; ?>
+