-
+ peekAhead($this->compact) as $contact): ?>
= $this->img('/static/gravatar', array('email' => $contact->contact_email)); ?>
= $this->qlink(
@@ -54,5 +54,15 @@
hasResult()): ?>
= $this->translate('No contacts found matching the filter'); ?>
+ hasMore()): ?>
+ = $this->qlink(
+ $this->translate('Show More'),
+ $this->url()->without(array('view', 'limit')),
+ null,
+ array(
+ 'data-base-target' => '_next',
+ 'class' => 'pull-right show-more'
+ )
+ ); ?>
diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml
index a2feafa52..7848efcd8 100644
--- a/modules/monitoring/application/views/scripts/list/downtimes.phtml
+++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml
@@ -2,6 +2,8 @@
use Icinga\Module\Monitoring\Object\Host;
use Icinga\Module\Monitoring\Object\Service;
+$downtimes->peekAhead($this->compact);
+
if (! $this->compact): ?>
= $this->tabs; ?>
@@ -137,5 +139,15 @@ if (! $this->compact): ?>
hasResult()): ?>
= $this->translate('No downtimes found matching the filter, maybe the downtime already expired.'); ?>
+hasMore()): ?>
+ = $this->qlink(
+ $this->translate('Show More'),
+ $this->url()->without(array('view', 'limit')),
+ null,
+ array(
+ 'data-base-target' => '_next',
+ 'class' => 'pull-right show-more'
+ )
+ ); ?>
diff --git a/modules/monitoring/application/views/scripts/list/eventhistory.phtml b/modules/monitoring/application/views/scripts/list/eventhistory.phtml
index ca44df469..47375c054 100644
--- a/modules/monitoring/application/views/scripts/list/eventhistory.phtml
+++ b/modules/monitoring/application/views/scripts/list/eventhistory.phtml
@@ -2,6 +2,8 @@
use Icinga\Module\Monitoring\Object\Host;
use Icinga\Module\Monitoring\Object\Service;
+$history->peekAhead($this->compact);
+
if (! $this->compact): ?>
= $this->tabs; ?>
@@ -92,5 +94,15 @@ if (! $this->compact): ?>
hasResult()): ?>
= $this->translate('No history events found matching the filter'); ?>
+hasMore()): ?>
+ = $this->qlink(
+ $this->translate('Show More'),
+ $this->url()->without(array('view', 'limit')),
+ null,
+ array(
+ 'data-base-target' => '_next',
+ 'class' => 'pull-right show-more'
+ )
+ ); ?>
diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml
index 27527591c..1e0b251ba 100644
--- a/modules/monitoring/application/views/scripts/list/hostgroups.phtml
+++ b/modules/monitoring/application/views/scripts/list/hostgroups.phtml
@@ -13,6 +13,7 @@ if (! $this->compact): ?>
peekAhead($this->compact);
$firstRow = true;
foreach ($hostgroups as $h): ?>
@@ -467,6 +468,17 @@ if ($h->hosts_down_unhandled) {
hasResult()): ?>