diff options
-rw-r--r-- | templates/web/default/pagination.html | 4 | ||||
-rw-r--r-- | templates/web/zurich/admin/index-dm.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/default/pagination.html b/templates/web/default/pagination.html index f1a114df6..086556abe 100644 --- a/templates/web/default/pagination.html +++ b/templates/web/default/pagination.html @@ -4,13 +4,13 @@ [% END %] <p class="pagination"> [% IF pager.previous_page %] - <a class="prev" href="[% c.req.uri_with({ $param => pager.previous_page }) %]">Previous</a> + <a class="prev" href="[% c.req.uri_with({ $param => pager.previous_page }) %][% '#' _ hash IF hash %]">Previous</a> [% END %] [% pager.first %] to [% pager.last %] of [% pager.total_entries %] [% IF pager.next_page %] - <a class="next" href="[% c.req.uri_with({ $param => pager.next_page }) %]">Next</a> + <a class="next" href="[% c.req.uri_with({ $param => pager.next_page }) %][% '#' _ hash IF hash %]">Next</a> [% END %] </p> [% IF NOT admin %] diff --git a/templates/web/zurich/admin/index-dm.html b/templates/web/zurich/admin/index-dm.html index 08634b5dd..76ed30aed 100644 --- a/templates/web/zurich/admin/index-dm.html +++ b/templates/web/zurich/admin/index-dm.html @@ -9,9 +9,9 @@ <h2>[% loc('Planned') %]</h2> [% INCLUDE list, problems = approval.all %] -<h2>[% loc('All reports') %]</h2> +<h2 id="alle">[% loc('All reports') %]</h2> [% INCLUDE list, problems = other.all, include_subdiv = 1 %] -[% INCLUDE 'pagination.html', admin = 1, param = 'p' %] +[% INCLUDE 'pagination.html', admin = 1, param = 'p', hash = 'alle' %] [% INCLUDE 'admin/footer.html' %] |