Bugzilla – Attachment 59987 Details for
Bug 13618
Add additional template filter methods and a filter presence test to Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13618: Specific for branches.opac_info
Bug-13618-Specific-for-branchesopacinfo.patch (text/plain), 4.33 KB, created by
Jonathan Druart
on 2017-02-07 16:00:22 UTC
(
hide
)
Description:
Bug 13618: Specific for branches.opac_info
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-02-07 16:00:22 UTC
Size:
4.33 KB
patch
obsolete
>From dcba7825a2ead7605da0988ca3b85866a47ade24 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 Feb 2017 16:59:40 +0100 >Subject: [PATCH] Bug 13618: Specific for branches.opac_info > >Forgot this one when I squashed the others. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 00b46aa..2d4fb84 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -189,7 +189,7 @@ tinyMCE.init({ > <li><label for="branchreplyto">Reply-To (if different to Email): </label> <input type="text" name="branchreplyto" id="branchreplyto" class="email" size="80" value="[% library.branchreplyto %]" /></li> > <li><label for="branchreturnpath">Return-Path (if different to Email): </label> <input type="text" name="branchreturnpath" id="branchreturnpath" class="email" size="80" value="[% library.branchreturnpath %]" /></li> > <li><label for="branchurl">URL: </label><input type="text" name="branchurl" id="branchurl" size="80" value="[% library.branchurl %]" class="url" /></li> >- <li><label for="opac_info">OPAC info: </label><textarea name="opac_info" id="opac_info">[% library.opac_info %]</textarea></li> >+ <li><label for="opac_info">OPAC info: </label><textarea name="opac_info" id="opac_info">[% library.opac_info.raw %]</textarea></li> > <li><label for="branchip">IP: </label><input type="text" name="branchip" id="branchip" size="15" maxlength="15" value="[% library.branchip %]" /> <span class="hint">Can be entered as a single IP, or a subnet such as 192.168.1.*</span></li> > <li><label for="branchnotes">Notes: </label><input type="text" name="branchnotes" id="branchnotes" size="80" value="[% library.branchnotes %]" /></li> > </ol> >@@ -258,7 +258,7 @@ tinyMCE.init({ > [% IF library.branchurl %] > <br /><a href="[% library.branchurl %]">[% library.branchurl %]</a>[% END %] > [% IF library.opac_info %] >- <br />OPAC Info: <div>[% library.opac_info %]</div>[% END %] >+ <br />OPAC Info: <div>[% library.opac_info.raw %]</div>[% END %] > [% IF library.branchnotes %] > <br />Notes: [% library.branchnotes %][% END %] > </td> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 00293c2..d381e3e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1214,7 +1214,7 @@ > <span>[% ITEM_RESULT.branchname %]</span> > [% END %] > </span> >- <div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info %]</div> >+ <div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info.raw %]</div> > > [% IF ( OpacLocationBranchToDisplayShelving == 'holding' || OpacLocationBranchToDisplayShelving == 'both' ) %] > <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> >@@ -1239,7 +1239,7 @@ > <span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span> > [% END %] > </span> >- <div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info %]</div> >+ <div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info.raw %]</div> > > [% IF ( OpacLocationBranchToDisplayShelving == 'home' || OpacLocationBranchToDisplayShelving == 'both' ) %] > <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> >-- >2.9.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 13618
:
35488
|
35516
|
40480
|
40481
|
40482
|
40483
|
40484
|
40485
|
40487
|
41346
|
41347
|
41348
|
41349
|
41350
|
41351
|
41352
|
41353
|
41354
|
41355
|
41746
|
41747
|
41776
|
42009
|
42054
|
42072
|
42073
|
42075
|
42078
|
42079
|
42087
|
42090
|
42091
|
42092
|
42093
|
42094
|
42095
|
42096
|
42097
|
45141
|
45784
|
45785
|
45788
|
46767
|
46768
|
46769
|
46770
|
46771
|
46772
|
46773
|
46774
|
46775
|
46776
|
46777
|
46778
|
46779
|
46780
|
46781
|
46782
|
46783
|
46784
|
46785
|
46786
|
46787
|
46788
|
46789
|
46790
|
46791
|
46792
|
46793
|
46794
|
46795
|
46796
|
46797
|
46798
|
46799
|
46800
|
46801
|
46802
|
46803
|
46804
|
46805
|
46806
|
46807
|
46808
|
46809
|
46810
|
46811
|
46812
|
46813
|
46814
|
46815
|
46816
|
46817
|
46818
|
46819
|
46820
|
46821
|
46822
|
47425
|
47426
|
47427
|
47428
|
47429
|
47430
|
47431
|
47432
|
47433
|
47434
|
47435
|
47436
|
47437
|
47438
|
47439
|
47440
|
47441
|
47442
|
47443
|
47444
|
47445
|
47446
|
47447
|
47448
|
47449
|
47450
|
47451
|
47452
|
47631
|
59983
|
59984
|
59987
|
77804
|
77805
|
77806
|
77807
|
77808
|
77809
|
77997
|
77998
|
78158
|
78274
|
78415
|
79404
|
79818
|
81183
|
83479
|
83480