Bugzilla – Attachment 39850 Details for
Bug 7981
Remove HomeOrHoldingBranchReturn syspref
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7981: Use The Branches TT plugin instead of GetBranchName
Bug-7981-Use-The-Branches-TT-plugin-instead-of-Get.patch (text/plain), 3.28 KB, created by
Jonathan Druart
on 2015-06-04 11:36:46 UTC
(
hide
)
Description:
Bug 7981: Use The Branches TT plugin instead of GetBranchName
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-06-04 11:36:46 UTC
Size:
3.28 KB
patch
obsolete
>From 6ea3cdf76a6b0b89b89bc2ddbe5d7bbf58d1feea Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 13 Apr 2015 13:21:49 +0200 >Subject: [PATCH] Bug 7981: Use The Branches TT plugin instead of GetBranchName > >Note that homebranchname is never used in the template. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > circ/returns.pl | 2 -- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 4 ++-- > 2 files changed, 2 insertions(+), 4 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 7e601a4..1e221ee 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -272,9 +272,7 @@ if ($barcode) { > $template->param( > title => $biblio->{'title'}, > homebranch => $biblio->{'homebranch'}, >- homebranchname => GetBranchName( $biblio->{'homebranch'} ), > returnbranch => $returnbranch, >- returnbranchname => GetBranchName( $returnbranch ), > author => $biblio->{'author'}, > itembarcode => $biblio->{'barcode'}, > itemtype => $biblio->{'itemtype'}, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 1b2aec6..a831c80 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -277,7 +277,7 @@ $(document).ready(function () { > [% IF ( transfer ) %] > <!-- transfer: item with no reservation, must be returned according to home library circulation rules --> > <div id="return1" class="dialog message"> >- <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% returnbranchname %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip'); return true;">Print slip</a> )</h3> >+ <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% Branches.GetName( returnbranchname ) %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip'); return true;">Print slip</a> )</h3> > </div> > [% IF ( soundon ) %] > <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio> >@@ -289,7 +289,7 @@ $(document).ready(function () { > [% IF ( soundon ) %] > <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio> > [% END %] >- <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% returnbranchname %]</h3> >+ <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% Branches.GetName( returnbranchname ) %]</h3> > Transfer now?<br /> > <form method="post" action="returns.pl" name="mainform" id="mainform"> > [% IF itemnumber %] >-- >2.1.0
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 7981
:
26723
|
27487
|
27950
|
27992
|
28199
|
33455
|
36615
|
37724
|
37725
|
37726
|
38151
|
38174
|
38176
|
38177
|
38178
|
38179
|
38180
|
38237
|
38238
|
38241
|
38242
|
38243
|
38244
|
38245
|
39504
|
39848
|
39849
| 39850 |
39851
|
39852
|
39853