diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml index a2feafa52..50afd18bd 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): ?>
tabs; ?> @@ -137,5 +139,15 @@ if (! $this->compact): ?> hasResult()): ?> translate('No downtimes found matching the filter, maybe the downtime already expired.'); ?> +hasMore()): ?> + qlink( + $this->translate('Show More'), + $this->url()->without(array('view', 'limit')), + null, + array( + 'data-base-target' => '_next', + 'class' => 'pull-right' + ) + ); ?>