From 00eabc5ade8c76ff46e904a9ccd73b34bb90b590 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 --- .../intranet-tmpl/prog/en/css/staff-global.css | 6 +++++- .../intranet-tmpl/prog/en/includes/table-pager.inc | 4 ++-- .../en/modules/admin/branch_transfer_limits.tt | 2 +- 3 files changed, 8 insertions(+), 4 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 17305d2..7ce2133 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -2142,4 +2142,8 @@ 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 961c07b..17d43d4 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 5e4e58f..0e8805e 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' %]
-- 1.7.0.4