list/hosts,services: use limiter widget
This commit is contained in:
parent
27e7839d1b
commit
1bddcd7282
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue