[Koha-bugs] [Bug 15301] Translatability: branchtransfers.tt: Remove ambiguous "To" and fix splitted sentence.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 8 16:17:48 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15301

--- Comment #8 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 45488
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45488
Bug 15301: branchtransfers.tt: Remove ambiguous "To" and fix splitted sentence

Review of attachment 45488:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15301&attachment=45488)
-----------------------------------------------------------------

::: circ/branchtransfers.pl
@@ +203,4 @@
>              my ( $tbr, $typecode ) = split( /::/,  $messages->{'NotAllowed'} );
>              $err{tbr}      = $branches->{ $tbr }->{'branchname'};
>              $err{code}     = $typecode;
> +            $err{codeType} = C4::Context->preference("BranchTransferLimitsType");

Retrieve it from the template using Koha.Preference

::: koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt
@@ +175,4 @@
>  		<table>
>              <caption>Transferred items</caption>
>              <tr>
> +                <th id="title">Title</th>

Why do you id an id here?
title, author, ccode, etc. are too much generic.
A class name should be enough (th.title/td.title).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list