diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-12-17 11:34:49 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-12-17 11:35:21 +0000 |
commit | bae3e2ec653c6935e19ce4d9f31b898fa1303e70 (patch) | |
tree | e4b171bb6e528c8497271451b5731576db539b1d | |
parent | 6652663b5f5a2abee0f0493e211baede15f662ba (diff) |
Don't try and shown pagination if no pager present
Prevents 'Argument "" isn't numeric' warning on admin report edit page.
-rw-r--r-- | templates/web/base/admin/list_updates.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/admin/list_updates.html b/templates/web/base/admin/list_updates.html index b26db07c3..d3701bc1e 100644 --- a/templates/web/base/admin/list_updates.html +++ b/templates/web/base/admin/list_updates.html @@ -44,6 +44,8 @@ [% END -%] </table> +[% IF updates_pager %] [% INCLUDE 'pagination.html', admin = 1, param = 'u', pager = updates_pager %] +[% END %] [% END %] |