From d7f842baece1ec69216a61b60b16a68c28e96279 Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Thu, 16 Nov 2017 19:19:33 +0000
Subject: [PATCH] Bug 19643: Pagination buttons on staged marc management are
stacking instead of inline
This patch modifies the template for staged MARC import management to
correct a problem with the style of pagination links.
To test you must have more than 25 staged imports. Go to Tools -> Staged
MARC management. The pagination links, both at the top and the bottom,
should look correct (use multi-page SQL report results for reference).
---
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt | 6 ++----
1 file changed, 2 insertions(+), 4 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 b4403ef..9d30dc9 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
@@ -386,12 +386,11 @@ $(document).ready(function(){
[% IF ( batch_list ) %]
[% IF ( pages ) %]
<div class="pages">
-Page
[% FOREACH page IN pages %]
[% IF ( page.current_page ) %]
<span class="current">[% page.page_number %]</span>
[% ELSE %]
- <a class="nav" href="[% page.script_name %]?offset=[% page.offset %]">[% page.page_number %]</a>
+ <a href="[% page.script_name %]?offset=[% page.offset %]">[% page.page_number %]</a>
[% END %]
[% END %]
</div>
@@ -454,12 +453,11 @@ Page
</table>
[% IF ( pages ) %]
<div class="pages">
-Page
[% FOREACH page IN pages %]
[% IF ( page.current_page ) %]
<span class="current">[% page.page_number %]</span>
[% ELSE %]
- <a class="nav" href="[% page.script_name %]?offset=[% page.offset %]">[% page.page_number %]</a>
+ <a href="[% page.script_name %]?offset=[% page.offset %]">[% page.page_number %]</a>
[% END %]
[% END %]
</div>
--
2.1.4