From 74f7638f99c4c193f8972caab3be2ad397d04de0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 28 Dec 2011 11:41:16 -0500 Subject: [PATCH] Bug 6842 Alternate fix, Branch transfer limits broken The patch which moved the table pager markup into an include undid the fix which was previously pushed for this problem. Re-implementing the fix in the pager include is a simpler fix which doesn't depend on the Datatables plugin. The markup change in table-pager.inc fixes the problem in branch transfer limits and does not affect functionality on other pages. The changes in this patch to branch_transfer_limits.tt and staff-global.css are for cosmetic reasons only. Signed-off-by: Katrin Fischer Saving changes works now correctly. I tried: - uncheck all for a branch - check all for a branch - making changes for different itemtypes on different tabs --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 6 ++++-- koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc | 4 ++-- .../prog/en/modules/admin/branch_transfer_limits.tt | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 17305d2963..fec66d6275 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -2137,9 +2137,11 @@ div.pager input.pagedisplay { font-weight: bold; text-align : center; } - a.localimage img { border : 1px solid #0000CC; margin : 0 .5em; padding : .3em; -} \ No newline at end of file +} +div.pager p { + margin: 0; +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc index 961c07bc76..17d43d48ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc @@ -1,4 +1,4 @@ -
\ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt index 5e4e58f345..0e8805ee99 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt @@ -102,7 +102,7 @@

Policy for [% codes_loo.limit_phrase %]: [% codes_loo.code %]

Check All | Uncheck All

-
+
[% INCLUDE 'table-pager.inc' perpage='20' %]
-- 2.39.5