From 4481224549c37b03fb0d0172a193455048c16c21 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 4 Aug 2015 15:16:16 +0200 Subject: [PATCH] Servicegroup Overview: Provide a show more link when in compact view refs #6677 --- .../views/scripts/list/servicegroups.phtml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/monitoring/application/views/scripts/list/servicegroups.phtml b/modules/monitoring/application/views/scripts/list/servicegroups.phtml index 41e52b833..3ff3d112d 100644 --- a/modules/monitoring/application/views/scripts/list/servicegroups.phtml +++ b/modules/monitoring/application/views/scripts/list/servicegroups.phtml @@ -10,6 +10,7 @@
peekAhead($this->compact); $firstRow = true; foreach ($servicegroups as $s): ?> @@ -301,6 +302,17 @@ foreach ($servicegroups as $s): ?> hasResult()): ?> +hasMore()): ?> + qlink( + $this->translate('Show More'), + $this->url()->without(array('view', 'limit')), + null, + array( + 'data-base-target' => '_next', + 'class' => 'pull-right' + ) + ); ?> + translate('No servicegroups found matching the filter'); ?>