parent
57d519bca8
commit
5f4a61f36e
|
@ -69,8 +69,10 @@ class Monitoring_AlertsummaryController extends Controller
|
|||
'notification_state'
|
||||
)
|
||||
);
|
||||
|
||||
$this->view->notifications = $query->paginate();
|
||||
|
||||
$this->setupLimitControl();
|
||||
$this->setupPaginationControl($this->view->notifications);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
<?php if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<div style="margin: 1em;" class="dontprint">
|
||||
<?= $this->tabs; ?>
|
||||
<div style="float: right;" class="dontprint">
|
||||
<?= $intervalBox; ?>
|
||||
</div>
|
||||
<?= $this->widget('limiter') ?>
|
||||
<?= $this->paginationControl($notifications, null, null, array('preserve' => $this->preserve)) ?>
|
||||
<?= $this->limiter; ?>
|
||||
<?= $this->paginator; ?>
|
||||
</div>
|
||||
|
||||
<?php endif ?>
|
||||
<div class="content alertsummary">
|
||||
<!-- <h1><?= $this->translate('Alert summary'); ?></h1> -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue