From 6bcdf2718bed275e848a99801840c48675e73f17 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. Signed-off-by: Maryse Simard --- .../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 13b0309..277e1bf 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 %] @@ -565,3 +549,31 @@ [% END %] [% INCLUDE 'intranet-bottom.inc' %] +[% BLOCK pagination %] + +[% END %] \ No newline at end of file -- 2.7.4