Bug 18762: Remove warnings from xt/author/valid-templates.t
Test plan: Read the changes and make sure they make sense Signed-off-by: Lee Jamison <ldjamison@marywood.edu> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> (cherry picked from commitab29b5efdc) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit9cd4fc3703) Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
9e83bceff6
commit
83324ded22
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Price %]
|
||||
[% SET NoIssuesCharge = Koha.Preference('noissuescharge') %]
|
||||
[% IF fines > 0 %]
|
||||
[% IF fines and fines > 0 %]
|
||||
<li>
|
||||
<span class="circ-hlt">Fees & Charges:</span>
|
||||
Patron has outstanding fees & charges of [% fines | $Price %].
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@ function delete_contact(ev) {
|
|||
<p><strong>Discount: </strong>
|
||||
[% discount | format("%.1f") %] %</p>
|
||||
<p><strong>Tax rate: </strong>
|
||||
[% 0 + tax_rate * 100 %] %</p>
|
||||
[% ( tax_rate || 0 ) * 100 %] %</p>
|
||||
[% IF deliverytime.defined %]
|
||||
<p><strong>Delivery time: </strong>
|
||||
[% deliverytime %] days</p>
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ function searchauthority() {
|
|||
<h1>Authority #[% authid %] ([% authtypetext %])</h1>
|
||||
|
||||
<div id="action">
|
||||
[% IF count > 0 %]
|
||||
[% IF count %]
|
||||
Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&q=an=[% authid %]">[% count %] record(s)</a>
|
||||
[% ELSE %]
|
||||
This authority is not used in any records.
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
<option value="!=" >is not</option>
|
||||
[% END %]
|
||||
</select>
|
||||
[% values = CGI.param(name) %]
|
||||
[% SET values = CGI.param(name) %]
|
||||
<select id="[% name %]" name="[% name %]" multiple="multiple" size="[% options.size < 4 ? options.size + 1 : 4 %]">
|
||||
[% IF (values == '') %]
|
||||
<option value="" selected="selected">
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ $('#sort_by').change(function() {
|
|||
[% END %]
|
||||
param1 += "<\/optgroup>";
|
||||
[% END %]
|
||||
[% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
|
||||
[% IF ( add_to_some_private_shelves and add_to_some_private_shelves.count > 10 ) or ( add_to_some_public_shelves and add_to_some_public_shelves.count > 10 ) %]
|
||||
param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";
|
||||
[% END %]
|
||||
param1 +="<option value=\"newlist\">"+_("[ New list ]")+"<\/option>"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
<h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
|
||||
|
||||
<div class="usedin">
|
||||
[% IF count > 0 %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">Number of records used in: [% count %]</a>[% ELSE %]This authority is not used in any records.[% END %]
|
||||
[% IF count %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">Number of records used in: [% count %]</a>[% ELSE %]This authority is not used in any records.[% END %]
|
||||
</div>
|
||||
|
||||
<div class="authstanza">
|
||||
|
|
|
|||
|
|
@ -780,7 +780,7 @@ $(document).ready(function(){
|
|||
[% END %]
|
||||
param1 += "<\/optgroup>";
|
||||
[% END %]
|
||||
[% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
|
||||
[% IF ( add_to_some_private_shelves and add_to_some_private_shelves.count > 10 ) or ( add_to_some_public_shelves and add_to_some_public_shelves.count > 10 ) %]
|
||||
param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";
|
||||
[% END %]
|
||||
param1 +="<option value=\"newlist\">"+_("[ New list ]")+"<\/option>"
|
||||
|
|
|
|||
Loading…
Reference in New Issue