diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml index 27527591c..5c9eb7167 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): ?> <div class="content"> <?php +$hostgroups->peekAhead($this->compact); $firstRow = true; foreach ($hostgroups as $h): ?> <?php if ($firstRow): ?> @@ -467,6 +468,17 @@ if ($h->hosts_down_unhandled) { <?php if ($hostgroups->hasResult()): ?> </tbody> </table> +<?php if ($hostgroups->hasMore()): ?> + <?= $this->qlink( + $this->translate('Show More'), + $this->url()->without(array('view', 'limit')), + null, + array( + 'data-base-target' => '_next', + 'class' => 'pull-right' + ) + ); ?> +<?php endif ?> <?php else: ?> <?= $this->translate('No hostgroups found matching the filter'); ?> <?php endif ?>