ApplicationLog: Ensure dashboard compliance

refs #7876
This commit is contained in:
Johannes Meyer 2015-04-17 16:09:17 +02:00
parent 2bd31ee395
commit d5cc340439
2 changed files with 10 additions and 4 deletions

View File

@ -52,5 +52,8 @@ class ListController extends Controller
'fields' => $pattern 'fields' => $pattern
))); )));
$this->view->logData = $resource->select()->order('DESC')->paginate(); $this->view->logData = $resource->select()->order('DESC')->paginate();
$this->setupLimitControl();
$this->setupPaginationControl($this->view->logData);
} }
} }

View File

@ -1,9 +1,12 @@
<?php if (! $this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs->render($this) ?> <?= $this->tabs; ?>
<div style="margin-top: 1em"></div> <?= $this->sortBox; ?>
<?= $this->logData ?> <?= $this->limiter; ?>
<?= $this->paginator; ?>
<?= $this->filterEditor; ?>
</div> </div>
<?php endif ?>
<div class="content"> <div class="content">
<?php if ($this->logData !== null): ?> <?php if ($this->logData !== null): ?>
<table class="action"> <table class="action">