Skip to content

Commit

Permalink
Flesh out PagerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-parry committed May 23, 2018
1 parent 6efbeba commit 0138d8c
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 71 deletions.
20 changes: 10 additions & 10 deletions system/Pager/Views/default_full.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<nav aria-label="<?= lang('Pager.pageNavigation') ?>">
<ul class="pagination">
<?php if ($pager->hasPrevious()) : ?>
<li>
<a href="<?= $pager->getFirst() ?>" aria-label="<?= lang('Pager.first') ?>">
<span aria-hidden="true"><?= lang('Pager.first') ?></span>
</a>
</li>
<li>
<a href="<?= $pager->getPrevious() ?>" aria-label="<?= lang('Pager.previous') ?>">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
<li>
<a href="<?= $pager->getFirst() ?>" aria-label="<?= lang('Pager.first') ?>">
<span aria-hidden="true"><?= lang('Pager.first') ?></span>
</a>
</li>
<li>
<a href="<?= $pager->getPrevious() ?>" aria-label="<?= lang('Pager.previous') ?>">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
<?php endif ?>

<?php foreach ($pager->links() as $link) : ?>
Expand Down
Loading

0 comments on commit 0138d8c

Please sign in to comment.