From 6017dce1cc47c87bc37a0b310b4d1bbc8ea5c011 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 4 Aug 2015 15:13:02 +0200 Subject: [PATCH] Contact Overview: Provide a show more link when in compact view refs #6677 --- .../application/views/scripts/list/contacts.phtml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/application/views/scripts/list/contacts.phtml b/modules/monitoring/application/views/scripts/list/contacts.phtml index 6775fb480..211f0c649 100644 --- a/modules/monitoring/application/views/scripts/list/contacts.phtml +++ b/modules/monitoring/application/views/scripts/list/contacts.phtml @@ -8,7 +8,7 @@
- + peekAhead($this->compact) as $contact): ?>
img('/static/gravatar', array('email' => $contact->contact_email)); ?> qlink( @@ -54,5 +54,15 @@ hasResult()): ?> translate('No contacts found matching the filter'); ?> + hasMore()): ?> + qlink( + $this->translate('Show More'), + $this->url()->without(array('view', 'limit')), + null, + array( + 'data-base-target' => '_next', + 'class' => 'pull-right' + ) + ); ?>