From 65db5c4accd0ea865e0df7a2a59589ffcb0e3615 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 20 Jun 2014 13:50:25 +0200 Subject: [PATCH] list/services: move filterEditor to content As it may occupy quite some space it is better having it scrollable --- .../application/views/scripts/list/services.phtml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml index a1e8c0749..a8a8429fb 100644 --- a/modules/monitoring/application/views/scripts/list/services.phtml +++ b/modules/monitoring/application/views/scripts/list/services.phtml @@ -6,19 +6,22 @@ if (!$this->compact): ?> tabs ?>
translate('Sort by') ?> sortControl ?> -filterWidget ?>
+filterEditor): ?> +filterPreview ?> +
widget('limiter')->setCurrentPageCount($this->services->count()) ?> paginationControl($services, null, null, array('preserve' => $this->preserve)) ?> -selectionToolbar('multi', $this->href('monitoring/multi/service', $query)) ?> +selectionToolbar('multi', $this->href('monitoring/multi/service?' . $this->filter->toQueryString())) ?>
+filterEditor ?> " + data-icinga-multiselect-url="href("monitoring/multi/service") ?>" data-icinga-multiselect-data="service,host">