list/hosts,services: use limiter widget

This commit is contained in:
Thomas Gelf 2014-06-20 13:49:50 +02:00
parent 27e7839d1b
commit 1bddcd7282
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ $helper = $this->getHelper('MonitoringState');
<?php endif ?>
</div>
<?= $this->widget('limiter')->setMaxLimit($this->hosts->count()) ?>
<?= $this->paginationControl($hosts, null, null, array('preserve' => $this->preserve)); ?>
<?= $this->selectionToolbar('multi', $this->href('monitoring/multi/host?' . $this->filter->toQueryString())); ?>
</div>

View File

@ -9,6 +9,7 @@ if (!$this->compact): ?>
<?= $this->filterWidget ?><br />
</div>
<?= $this->widget('limiter')->setCurrentPageCount($this->services->count()) ?>
<?= $this->paginationControl($services, null, null, array('preserve' => $this->preserve)) ?>
<?= $this->selectionToolbar('multi', $this->href('monitoring/multi/service', $query)) ?>
</div>