diff options
Diffstat (limited to 'templates/web/base')
-rw-r--r-- | templates/web/base/my/my.html | 2 | ||||
-rw-r--r-- | templates/web/base/my/planned.html | 2 | ||||
-rw-r--r-- | templates/web/base/pagination.html | 4 | ||||
-rwxr-xr-x | templates/web/base/reports/body.html | 4 |
4 files changed, 10 insertions, 2 deletions
diff --git a/templates/web/base/my/my.html b/templates/web/base/my/my.html index 8924736eb..a61a8ea44 100644 --- a/templates/web/base/my/my.html +++ b/templates/web/base/my/my.html @@ -38,7 +38,9 @@ <section class="full-width"> [% INCLUDE "reports/_list-filters.html", use_form_wrapper = 1 %] +<div class="js-pagination"> [% INCLUDE 'pagination.html', pager = problems_pager, param = 'p' %] +</div> <div id="js-reports-list"> [% INCLUDE 'my/_problem-list.html' %] </div> diff --git a/templates/web/base/my/planned.html b/templates/web/base/my/planned.html index eab84bb9b..eb67247c4 100644 --- a/templates/web/base/my/planned.html +++ b/templates/web/base/my/planned.html @@ -23,7 +23,9 @@ <section class="full-width"> [% INCLUDE "reports/_list-filters.html", use_form_wrapper = 1 %] +<div class="js-pagination"> [% INCLUDE 'pagination.html', pager = problems_pager, param = 'p' %] +</div> [% INCLUDE 'my/_problem-list.html' %] </section> diff --git a/templates/web/base/pagination.html b/templates/web/base/pagination.html index f0c51bb10..448186838 100644 --- a/templates/web/base/pagination.html +++ b/templates/web/base/pagination.html @@ -1,13 +1,13 @@ [% IF pager.last_page > 1 %] <p class="pagination"> [% IF pager.previous_page %] - <a class="prev" href="[% c.req.uri_with({ $param => pager.previous_page }) %][% '#' _ hash IF hash %]">[% loc('Previous') %]</a> + <a class="prev" href="[% c.uri_with({ $param => pager.previous_page, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Previous') %]</a> [% END %] [% tprintf( loc('%d to %d of %d'), pager.first, pager.last, pager.total_entries ) %] [% IF pager.next_page %] - <a class="next" href="[% c.req.uri_with({ $param => pager.next_page }) %][% '#' _ hash IF hash %]">[% loc('Next') %]</a> + <a class="next" href="[% c.uri_with({ $param => pager.next_page, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Next') %]</a> [% END %] </p> [% END %] diff --git a/templates/web/base/reports/body.html b/templates/web/base/reports/body.html index 6cad2cd1a..929a4a527 100755 --- a/templates/web/base/reports/body.html +++ b/templates/web/base/reports/body.html @@ -62,11 +62,15 @@ <section class="full-width"> [% INCLUDE "reports/_list-filters.html", use_form_wrapper = 1 %] +<div class="js-pagination"> [% INCLUDE 'pagination.html', param = 'p' %] +</div> <div id="js-reports-list"> [% INCLUDE 'reports/_problem-list.html' %] </div> +<div class="js-pagination"> [% INCLUDE 'pagination.html', param = 'p' %] +</div> </section> </div> |