diff options
Diffstat (limited to 'templates/web/default/pagination.html')
-rw-r--r-- | templates/web/default/pagination.html | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/templates/web/default/pagination.html b/templates/web/default/pagination.html index f5a1192d1..f1a114df6 100644 --- a/templates/web/default/pagination.html +++ b/templates/web/default/pagination.html @@ -1,17 +1,19 @@ [% IF pager.last_page > 1 %] - <p> +[% IF NOT admin %] +<section class="full-width"> +[% END %] + <p class="pagination"> [% IF pager.previous_page %] - <a href="[% c.req.uri_with({ $param => pager.previous_page }) %]">← Previous</a> - [% ELSE %] - ← Previous + <a class="prev" href="[% c.req.uri_with({ $param => pager.previous_page }) %]">Previous</a> [% END %] - | + [% pager.first %] to [% pager.last %] of [% pager.total_entries %] - | + [% IF pager.next_page %] - <a href="[% c.req.uri_with({ $param => pager.next_page }) %]">Next →</a> - [% ELSE %] - Next → + <a class="next" href="[% c.req.uri_with({ $param => pager.next_page }) %]">Next</a> [% END %] </p> +[% IF NOT admin %] +</section> +[% END %] [% END %] |