diff --git a/application/layouts/scripts/parts/topbar.phtml b/application/layouts/scripts/parts/topbar.phtml index 049a2ab3a..57e5b0dd8 100755 --- a/application/layouts/scripts/parts/topbar.phtml +++ b/application/layouts/scripts/parts/topbar.phtml @@ -1,27 +1,28 @@
diff --git a/config/modules/monitoring/menu.ini b/config/modules/monitoring/menu.ini index 2a6dae3ca..058b6162f 100755 --- a/config/modules/monitoring/menu.ini +++ b/config/modules/monitoring/menu.ini @@ -1,14 +1,18 @@ [menu] -Issues.title = "Issues" ; Extended version -Issues.route = "/monitoring/list/services?problems=1&sort=severity" ; Explicit route -Issues.key = "issues" ; When this key is set in the controller, the item is active +;Remove component as of #4583 since it's not working +;Issues.title = "Issues" ; Extended version +;Issues.route = "/monitoring/list/services?problems=1&sort=severity" ; Explicit route +;Issues.key = "issues" ; When this key is set in the controller, the item is active -Changes.title = "Recent Changes" -Changes.route = "/monitoring/list/services?sort=service_last_state_change" -_1 = 1 ;Spacer after this section +;Remove component as of #4583 since it's not working +;Changes.title = "Recent Changes" +;Changes.route = "/monitoring/list/services?sort=service_last_state_change" +;_1 = 1 ;Spacer after this section Hosts = "/monitoring/list/hosts" Services = "/monitoring/list/services" Downtimes = "/monitoring/list/downtimes" Notifications = "/monitoring/list/notifications" -Summaries = "/monitoring/summary/group/by/hostgroup" + +;Remove component as of #4583 since it's not working +;Summaries = "/monitoring/summary/group/by/hostgroup" diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index f1947ea02..7eb173713 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -26,21 +26,25 @@ * @author Icinga Development Team' . $query->dump() . ''; exit; - $this->view->summary = $query->paginate(); - - } -} -// @codingStandardsIgnoreEnd diff --git a/modules/monitoring/application/views/scripts/list/contactgroups.phtml b/modules/monitoring/application/views/scripts/list/contactgroups.phtml deleted file mode 100644 index 77bef0553..000000000 --- a/modules/monitoring/application/views/scripts/list/contactgroups.phtml +++ /dev/null @@ -1,5 +0,0 @@ -= $this->tabs->render($this); ?> - -
-= $this->escape(print_r($this->contactgroups->fetchAll(), 1)) ?> -diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml index ca28045bf..de4ef74b2 100644 --- a/modules/monitoring/application/views/scripts/list/downtimes.phtml +++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml @@ -41,7 +41,6 @@ $downtimes = $downtimes->fetchAll(); 'downtime_duration' => 'Duration', ) ) ?> - = diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml deleted file mode 100644 index 2e0d41284..000000000 --- a/modules/monitoring/application/views/scripts/list/hostgroups.phtml +++ /dev/null @@ -1,5 +0,0 @@ -= $this->tabs->render($this); ?> - -
-= $this->escape(print_r($this->hostgroups->fetchAll(), 1)) ?> -diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index adc6aa477..325c3800b 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -20,7 +20,6 @@ $trimArea = $this->getHelper('Trim'); 'host_name' => 'Host', ) ) ?> - = $this->paginationControl($hosts, null, null, array('preserve' => $this->preserve)) ?> @@ -45,14 +44,14 @@ $trimArea = $this->getHelper('Trim'); end(); ?> -
-= $this->escape(print_r($this->servicegroups->fetchAll(), 1)) ?> -diff --git a/modules/monitoring/application/views/scripts/list/services-compact.phtml b/modules/monitoring/application/views/scripts/list/services-compact.phtml index 93486257a..1ce5a87a5 100644 --- a/modules/monitoring/application/views/scripts/list/services-compact.phtml +++ b/modules/monitoring/application/views/scripts/list/services-compact.phtml @@ -11,29 +11,6 @@ $trimArea = $this->getHelper('Trim'); - - = $this->paginationControl($paginator, null, null, array('preserve' => $this->preserve)) ?>
+ |
start(); ?>
service_handled && $service->service_state > 0): ?>
-
- service_acknowledged && !$service->service_in_downtime): ?>
+
+ service_acknowledged && !$service->service_in_downtime): ?>
@@ -72,7 +49,7 @@ $trimArea = $this->getHelper('Trim');
-
+
service_notifications_enabled): ?>
@@ -83,7 +60,7 @@ $trimArea = $this->getHelper('Trim');
- end(); ?>
+ end(); ?>
|
diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml
index 2fb224e75..2b2ff07e7 100644
--- a/modules/monitoring/application/views/scripts/list/services.phtml
+++ b/modules/monitoring/application/views/scripts/list/services.phtml
@@ -33,7 +33,6 @@ $trimArea = $this->getHelper('Trim');
'service_description' => 'Service',
)
) ?>
-
= $this->paginationControl($paginator, null, null, array('preserve' => $this->preserve)) ?>
@@ -59,14 +58,14 @@ $trimArea = $this->getHelper('Trim');
end(); ?>
- + |
start(); ?>
service_handled && $service->service_state > 0): ?>
-
- service_acknowledged && !$service->service_in_downtime): ?>
+
+ service_acknowledged && !$service->service_in_downtime): ?>
@@ -75,7 +74,7 @@ $trimArea = $this->getHelper('Trim');
-
+
service_notifications_enabled): ?>
@@ -86,7 +85,7 @@ $trimArea = $this->getHelper('Trim');
- end(); ?>
+ end(); ?>
|
diff --git a/modules/monitoring/application/views/scripts/summary/group.phtml b/modules/monitoring/application/views/scripts/summary/group.phtml
deleted file mode 100644
index 8c9547dc5..000000000
--- a/modules/monitoring/application/views/scripts/summary/group.phtml
+++ /dev/null
@@ -1,167 +0,0 @@
- if (! $this->compact): ?>
-= $this->tabs ?>
- endif ?>
- if (empty($this->summary)): ?>
-There are no such services right now
- else: ?>
-
- if (! $this->compact && $this->summary instanceof \Zend_Paginator): ?>
-= $this->paginationControl($this->summary, null, null, array('preserve' => $this->preserve)); ?>
- endif ?>
-
- | Critical | -Unknown | -Warning | - if (! $this->compact): ?>OK | endif ?> -
---|---|---|---|---|
= $name_html ?> | -= $html_critical ?> | -= $html_unknown ?> | -= $html_warning ?> | - if (! $this->compact): ?>= $html_ok ?> | endif ?> -