diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-15 18:54:36 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-06 12:25:34 +0000 |
commit | c999898402e90480df72e7014e531fa6fb6d9ac2 (patch) | |
tree | 0f5f36ae46dcd47421604cb7b33141622bdb45ee /templates/web/base/pagination.html | |
parent | 917be7924e23fd4e0168927f16fa5d6e64ca4508 (diff) |
Add pagination to around page.
Diffstat (limited to 'templates/web/base/pagination.html')
-rw-r--r-- | templates/web/base/pagination.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/pagination.html b/templates/web/base/pagination.html index a677b9d58..7c13ec9cb 100644 --- a/templates/web/base/pagination.html +++ b/templates/web/base/pagination.html @@ -1,5 +1,5 @@ [% IF pager.total_entries > 1 %] - <p class="pagination"> + <p class="pagination" data-page="[% pager.current_page %]"> [% IF pager.previous_page %] <a class="prev" href="[% c.uri_with({ $param => pager.previous_page, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Previous') %]</a> [% END %] |