From a650c4e330dff0eca74bfe3edf6e976aab86e704 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 26 Jun 2019 14:57:18 +0000 Subject: [PATCH] Bug 23094: Use Bootstrap-style pagination on staged MARC records page This patch makes markup changes in order to make the pagination links on the staged MARC records page consistent with the links on the catalog search results page. To test properly you should have enough staged marc record batches that there are multiple pages to list. Go to Tools -> Manage staged MARC records. Test that the pagination links look consistent with the catalog search results page and that they work correctly. --- .../prog/en/modules/tools/manage-marc-import.tt | 48 ++++++++++++++-------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index 48ffb0e..4763fab 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -312,15 +312,7 @@ [% IF ( batch_list ) %] [% IF ( pages ) %] -
- [% FOREACH page IN pages %] - [% IF ( page.current_page ) %] - [% page.page_number | html %] - [% ELSE %] - [% page.page_number | html %] - [% END %] - [% END %] -
+ [% PROCESS pagination %] [% END %] @@ -381,15 +373,7 @@
[% IF ( pages ) %] -
- [% FOREACH page IN pages %] - [% IF ( page.current_page ) %] - [% page.page_number | html %] - [% ELSE %] - [% page.page_number | html %] - [% END %] - [% END %] -
+ [% PROCESS pagination %] [% END %] [% END # /IF batch_lis %] @@ -564,3 +548,31 @@ [% END %] [% INCLUDE 'intranet-bottom.inc' %] +[% BLOCK pagination %] + +[% END %] \ No newline at end of file -- 2.1.4