Bugzilla – Attachment 6944 Details for
Bug 6842
Branch transfer limits broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternate fix which doesn't require Datatables plugin
0001-Bug-6842-Alternate-fix-Branch-transfer-limits-broken.patch (text/plain), 3.17 KB, created by
Owen Leonard
on 2011-12-28 16:47:36 UTC
(
hide
)
Description:
Alternate fix which doesn't require Datatables plugin
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-12-28 16:47:36 UTC
Size:
3.17 KB
patch
obsolete
>From 525992180d3755f1688779f3619fba409f16b7c8 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 28 Dec 2011 11:41:16 -0500 >Subject: [PATCH] Bug 6842 Alternate fix, Branch transfer limits broken >Content-Type: text/plain; charset="utf-8" > >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. >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 3 +++ > .../intranet-tmpl/prog/en/includes/table-pager.inc | 4 ++-- > .../en/modules/admin/branch_transfer_limits.tt | 2 +- > 3 files changed, 6 insertions(+), 3 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 9eb7fa2..c61f946 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -2133,3 +2133,6 @@ div.pager input.pagedisplay { > font-weight: bold; > text-align : center; > } >+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 @@ >-<div class="pager"><form class="formpager" action=""><label>Page(s): >+<div class="pager"><p class="formpager" action=""><label>Page(s): > <img src="[% interface %]/prog/img/first.png" alt="" class="first"/> > <img src="[% interface %]/prog/img/prev.png" alt="" class="prev"/> > <input type="text" size="5" class="pagedisplay"/></label> >@@ -14,4 +14,4 @@ > [% IF ( perpage == 100) %]<option value="100" selected="selected">100</option>[% ELSE %]<option value="100">100</option>[% END %] > [% IF ( perpage == 200) %]<option value="200" selected="selected">200</option>[% ELSE %]<option value="200">200</option>[% END %] > </select></label> >-</form></div> >\ No newline at end of file >+</p></div> >\ 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 @@ > <h4>Policy for [% codes_loo.limit_phrase %]: [% codes_loo.code %]</h4> > <p><a id="CheckAll[% codes_loo.code %]table" class="checkall" href="#">Check All</a> | <a id="UncheckAll[% codes_loo.code %]table" class="uncheckall" href="#">Uncheck All</a></p> > >- <div id="pager[% codes_loo.code %]table" class="pager"> >+ <div id="pager[% codes_loo.code %]table"> > [% INCLUDE 'table-pager.inc' perpage='20' %] > </div> > <table id="[% codes_loo.code %]table" class="sorted"> >-- >1.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6842
:
5438
|
5471
|
6923
|
6925
|
6944
|
6960
|
7477
|
7484