diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-10-13 16:39:17 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-10-13 17:13:59 +0100 |
commit | bb2ec8ca4a74f0bf7924f6a6670f0b5c8cea7f9e (patch) | |
tree | a10fd7716fe704fb61bfd37c7834efa44b48f1e0 /templates | |
parent | b7f7977aa5399c8378651b2a17c584b2537670d9 (diff) |
Paginate admin search results.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/admin/list_updates.html | 3 | ||||
-rw-r--r-- | templates/web/base/admin/reports.html | 2 | ||||
-rw-r--r-- | templates/web/zurich/admin/reports.html | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/templates/web/base/admin/list_updates.html b/templates/web/base/admin/list_updates.html index 02845b0ee..b26db07c3 100644 --- a/templates/web/base/admin/list_updates.html +++ b/templates/web/base/admin/list_updates.html @@ -43,4 +43,7 @@ </tr> [% END -%] </table> + +[% INCLUDE 'pagination.html', admin = 1, param = 'u', pager = updates_pager %] + [% END %] diff --git a/templates/web/base/admin/reports.html b/templates/web/base/admin/reports.html index 7267dd11d..071c5f5a5 100644 --- a/templates/web/base/admin/reports.html +++ b/templates/web/base/admin/reports.html @@ -18,7 +18,7 @@ [% INCLUDE 'admin/problem_row.html' %] </table> -[% INCLUDE 'pagination.html', admin = 1, param = 'p' IF pager %] +[% INCLUDE 'pagination.html', admin = 1, param = 'p', pager = problems_pager %] [% ELSIF searched %] diff --git a/templates/web/zurich/admin/reports.html b/templates/web/zurich/admin/reports.html index 68f98c44a..7e425c8ec 100644 --- a/templates/web/zurich/admin/reports.html +++ b/templates/web/zurich/admin/reports.html @@ -19,7 +19,7 @@ [% INCLUDE 'admin/problem_row.html' %] </table> -[% INCLUDE 'pagination.html', admin = 1, param = 'p' IF pager %] +[% INCLUDE 'pagination.html', admin = 1, param = 'p', pager = problems_pager %] [% END %] |