Bugzilla – Attachment 45506 Details for
Bug 15301
Translatability: branchtransfers.tt: Remove ambiguous "To" and fix splitted sentence.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15301: (followup) Translatability: branchtransfers.tt
Bug-15301-followup-Translatability-branchtransfers.patch (text/plain), 5.08 KB, created by
Marc Véron
on 2015-12-08 16:14:56 UTC
(
hide
)
Description:
Bug 15301: (followup) Translatability: branchtransfers.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-12-08 16:14:56 UTC
Size:
5.08 KB
patch
obsolete
>From a6e1c2b47ba10139d44c4d6548fee66bba507fa6 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 8 Dec 2015 17:00:58 +0100 >Subject: [PATCH] Bug 15301: (followup) Translatability: branchtransfers.tt > >Followup for comment #8 >--- > circ/branchtransfers.pl | 1 - > .../prog/en/modules/circ/branchtransfers.tt | 35 ++++++++++---------- > 2 files changed, 18 insertions(+), 18 deletions(-) > >diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl >index 3541229..22c9a07 100755 >--- a/circ/branchtransfers.pl >+++ b/circ/branchtransfers.pl >@@ -203,7 +203,6 @@ foreach my $code ( keys %$messages ) { > my ( $tbr, $typecode ) = split( /::/, $messages->{'NotAllowed'} ); > $err{tbr} = $branches->{ $tbr }->{'branchname'}; > $err{code} = $typecode; >- $err{codeType} = C4::Context->preference("BranchTransferLimitsType"); > } > elsif ( $code eq 'IsPermanent' ) { > $err{errispermanent} = 1; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt >index f3b394d..e2916d9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt >@@ -1,3 +1,4 @@ >+[% USE Koha %] > [% USE ItemTypes %] > [% USE AuthorisedValues %] > [% INCLUDE 'doc-head-open.inc' %] >@@ -114,7 +115,7 @@ > [% IF ( errmsgloo.errnotallowed ) %] > <li>Transfer is not allowed for: > <ol> >- [% IF ( errmsgloo.codeType ) == 'itemtype' %] >+ [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %] > <li>Item type: <b>[% ItemTypes.GetDescription( errmsgloo.code ) %]</b></li> > [% ELSE %] > <li>Collection code: <b>[% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) %]</b></li> >@@ -175,25 +176,25 @@ > <table> > <caption>Transferred items</caption> > <tr> >- <th id="title">Title</th> >- <th id="author">Author</th> >- <th id="barcode">Barcode</th> >- <th id="location">Shelving location</th> >- <th id="itemcallnumber">Call number</th> >- <th id="itemtype">Item type</th> >- <th id="ccode">Collection code</th> >- <th id="destination">Destination</th> >+ <th class="tf-title">Title</th> >+ <th class="tf-author">Author</th> >+ <th class="tf-barcode">Barcode</th> >+ <th class="tf-location">Shelving location</th> >+ <th class="tf-itemcallnumber">Call number</th> >+ <th class="tf-itemtype">Item type</th> >+ <th class="tf-ccode">Collection code</th> >+ <th class="tf-destination">Destination</th> > </tr> > [% FOREACH trsfitemloo IN trsfitemloop %] > <tr> >- <td class="title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title |html %]</a></td> >- <td class="author">[% trsfitemloo.author %]</td> >- <td class="barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.biblionumber %]&itemnumber=[% trsfitemloo.itemnumber %]#item[% trsfitemloo.itemnumber %]">[% trsfitemloo.barcode %]</a></td> >- <td class="location">[% trsfitemloo.location %]</td> >- <td class="itemcallnumber">[% trsfitemloo.itemcallnumber %]</td> >- <td class="itemtype">[% ItemTypes.GetDescription( trsfitemloo.itemtype ) %]</td> >- <td class="ccode">[% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.ccode ) %]</td> >- <td class="destination">[% trsfitemloo.tobrname %]</td> >+ <td class="tf-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title |html %]</a></td> >+ <td class="tf-author">[% trsfitemloo.author %]</td> >+ <td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.biblionumber %]&itemnumber=[% trsfitemloo.itemnumber %]#item[% trsfitemloo.itemnumber %]">[% trsfitemloo.barcode %]</a></td> >+ <td class="tf-location">[% trsfitemloo.location %]</td> >+ <td class="tf-itemcallnumber">[% trsfitemloo.itemcallnumber %]</td> >+ <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.itemtype ) %]</td> >+ <td class="tf-ccode">[% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.ccode ) %]</td> >+ <td class="tf-destination">[% trsfitemloo.tobrname %]</td> > </tr> > [% END %] > </table> >-- >1.7.10.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 15301
:
45394
|
45486
|
45487
|
45488
|
45506
|
45507
|
45516
|
46036