- = $this->tabs ?>
+ = $this->render('partials/host/objects-header.phtml') ?>
-
-
+
= $this->translate('No hosts matching the filter') ?>
-
= sprintf(
$this->translatePlural(
diff --git a/modules/monitoring/application/views/scripts/service/show.phtml b/modules/monitoring/application/views/scripts/service/show.phtml
index a5c95fd61..3a09e2bf4 100644
--- a/modules/monitoring/application/views/scripts/service/show.phtml
+++ b/modules/monitoring/application/views/scripts/service/show.phtml
@@ -1,5 +1,5 @@
- = sprintf($this->translatePlural('Host (%u)', 'Hosts (%u)', $hostCount), $hostCount) ?>
-
-
- = $this->hostStatesPieChart ?>
-
-
- $count) {
- echo sprintf('%s: %u
', $this->translate(strtoupper($text)), $count); - } ?> -
-
', $this->translate(strtoupper($text)), $count); - } ?> -
= sprintf(
$this->translatePlural(
diff --git a/modules/monitoring/application/views/scripts/service/show.phtml b/modules/monitoring/application/views/scripts/service/show.phtml
index a5c95fd61..3a09e2bf4 100644
--- a/modules/monitoring/application/views/scripts/service/show.phtml
+++ b/modules/monitoring/application/views/scripts/service/show.phtml
@@ -1,5 +1,5 @@
- = $this->render('show/components/header.phtml') ?>
+ = $this->render('partials/service/object-header.phtml') ?>
= $this->translate("Service detail information") ?>
diff --git a/modules/monitoring/application/views/scripts/services/show.phtml b/modules/monitoring/application/views/scripts/services/show.phtml
index 522d32ce7..d5d9df2d9 100644
--- a/modules/monitoring/application/views/scripts/services/show.phtml
+++ b/modules/monitoring/application/views/scripts/services/show.phtml
@@ -1,41 +1,11 @@
- = $this->tabs ?>
+ = $this->render('partials/service/objects-header.phtml') ?>
-
-
+
= $this->translate('No services matching the filter') ?>
-
-
- = sprintf($this->translatePlural('Service (%u)', 'Services (%u)', $serviceCount), $serviceCount) ?>
-
-
- = $this->serviceStatesPieChart ?>
-
-
- $count) {
- echo sprintf(' %s: %u
', $this->translate(strtoupper($text)), $count);
- } ?>
-
-
-
-
-
-
- = sprintf($this->translatePlural('Host (%u)', 'Hosts (%u)', $hostCount), $hostCount) ?>
-
-
- = $this->hostStatesPieChart ?>
-
-
- $count) {
- echo sprintf('%s: %u
', $this->translate(strtoupper($text)), $count);
- } ?>
-
-
-
= $this->translate("Service detail information") ?>
- = $this->tabs ?>
+ = $this->render('partials/service/objects-header.phtml') ?>
-
-
+
= $this->translate('No services matching the filter') ?>
-
-
-
-
- = sprintf($this->translatePlural('Service (%u)', 'Services (%u)', $serviceCount), $serviceCount) ?>
-
-
- = $this->serviceStatesPieChart ?>
-
-
- $count) {
- echo sprintf(' %s: %u
', $this->translate(strtoupper($text)), $count); - } ?> -
- ', $this->translate(strtoupper($text)), $count); - } ?> -
-
-
-
- = sprintf($this->translatePlural('Host (%u)', 'Hosts (%u)', $hostCount), $hostCount) ?>
-
-
- = $this->hostStatesPieChart ?>
-
-
- $count) {
- echo sprintf('%s: %u
', $this->translate(strtoupper($text)), $count); - } ?> -
- ', $this->translate(strtoupper($text)), $count); - } ?> -