Bugzilla – Attachment 87746 Details for
Bug 18584
Our legacy code contains trailing-spaces
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18584: Our legacy code contains trailing-spaces
Bug-18584-Our-legacy-code-contains-trailing-spaces.patch (text/plain), 4.82 KB, created by
Owen Leonard
on 2019-04-10 23:36:01 UTC
(
hide
)
Description:
Bug 18584: Our legacy code contains trailing-spaces
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-04-10 23:36:01 UTC
Size:
4.82 KB
patch
obsolete
>From 6e5c973b9d82c5d02084ccacbb1d003020bff01f Mon Sep 17 00:00:00 2001 >From: Thatcher Leonard <thatcher.f.leonard@gmail.com> >Date: Wed, 10 Apr 2019 23:23:46 +0000 >Subject: [PATCH] Bug 18584: Our legacy code contains trailing-spaces > >This patch removes trailing spaces and replaces tab characters with >spaces in the branch transfer limits template. > >Mentored-by: Owen Leonard <oleonard@myacpl.org> >--- > .../en/modules/admin/branch_transfer_limits.tt | 78 +++++++++++----------- > 1 file changed, 39 insertions(+), 39 deletions(-) > >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 8daea35..e3cc5bb 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 >@@ -32,51 +32,51 @@ > > > <div id="transferlimit_tabs" class="toptabs"> >- <ul class="ui-tabs-nav"> >+ <ul class="ui-tabs-nav"> > [% FOREACH codes_loo IN codes_loop %]<li><a href="#[% codes_loo.code | uri %]set">[% codes_loo.code | html %]</a></li>[% END %] >- </ul> >+ </ul> > >- <form method="post" action="branch_transfer_limits.pl"> >+ <form method="post" action="branch_transfer_limits.pl"> > >- [% FOREACH codes_loo IN codes_loop %] >- <div id="[% codes_loo.code | html %]set"> >- <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4> >+ [% FOREACH codes_loo IN codes_loop %] >+ <div id="[% codes_loo.code | html %]set"> >+ <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4> > <p><a id="CheckAll[% codes_loo.code | html %]table" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p> >- >- <table id="[% codes_loo.code | html %]table" class="sorted"> >- <thead> >- <tr> >- <th>Library</th> >- <th>Allow transfer?</th> >- </tr> >- </thead> >- >- <tbody> >- [% FOREACH to_branch_loo IN codes_loo.to_branch_loop %] >+ >+ <table id="[% codes_loo.code | html %]table" class="sorted"> >+ <thead> >+ <tr> >+ <th>Library</th> >+ <th>Allow transfer?</th> >+ </tr> >+ </thead> >+ >+ <tbody> >+ [% FOREACH to_branch_loo IN codes_loo.to_branch_loop %] > <tr> > <td><label style="min-width:400px;" for="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row">[% to_branch_loo.toBranch | html %] - [% Branches.GetName( to_branch_loo.toBranch ) | html %]</label></td> >- <td> >- [% IF ( to_branch_loo.isChecked ) %] >- <input type="checkbox" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" checked="checked" /> >- [% ELSE %] >- <input type="checkbox" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" /> >- [% END %] >- </td> >- </tr> >- [% END %] >- </tbody> >- </table> >- </div> >- [% END %] >- >- <fieldset class="action"> >- <input type="hidden" name="updateLimits" value="1" /> >- <input type="hidden" name="branchcode" value="[% branchcode | html %]" /> >- <input type="submit" value="Save" /> >- <a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a> >- </fieldset> >- </form> >- </div> >+ <td> >+ [% IF ( to_branch_loo.isChecked ) %] >+ <input type="checkbox" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" checked="checked" /> >+ [% ELSE %] >+ <input type="checkbox" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" /> >+ [% END %] >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ </div> >+ [% END %] >+ >+ <fieldset class="action"> >+ <input type="hidden" name="updateLimits" value="1" /> >+ <input type="hidden" name="branchcode" value="[% branchcode | html %]" /> >+ <input type="submit" value="Save" /> >+ <a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a> >+ </fieldset> >+ </form> >+ </div> > > </main> > </div> <!-- /.col-sm-10.col-sm-push-2 --> >-- >2.1.4
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 18584
:
64236
|
64237
|
64238
|
67095
|
67096
|
67097
|
67157
|
67158
|
67159
|
67160
|
67161
|
79734
|
79743
|
79758
|
79811
|
79953
|
81990
|
82337
|
82347
|
85966
|
85967
|
85968
|
87746
|
87750
|
87775
|
175456
|
175458
|
175610