Bug 18754: [QA Follow-up] Tiny corrections

Converted one INCLUDE directive to PROCESS; we are not changing variables here. (The PROCESS directive is slightly faster than INCLUDE because it avoids the need to localise (i.e. copy) the variable stash before processing the template.)

Removed one vim inserted letter i.

Error in [% IF ( XISBN.publicationyear ) _ ', ' _ XISBN.publicationyear %][% END %] The concatenation became part of the condition.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ff591f2c77)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 78e527129b)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
Marcel de Rooy 2017-08-04 16:44:51 +02:00 committed by Katrin Fischer
parent b0d86d1044
commit df8a9f82a6
1 changed files with 3 additions and 3 deletions

View File

@ -547,7 +547,7 @@
<li id="tab_holdings">
[% END %]
[% BLOCK holding_tab_title %][% IF SeparateHoldings %]<span>[% LoginBranchname %] holdings</span>[% ELSE %]<span>Holdings</span>[% END %][% END %]
<a href="#holdings">[% INCLUDE holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' %][% END %]</a>
<a href="#holdings">[% PROCESS holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' %][% END %]</a>
</li>
[% IF (SeparateHoldings) %]
<li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' %]</a></li>
@ -664,7 +664,7 @@
[% IF holds_count.defined || priority %]
<div id="bib_holds">
[% IF holds_count.defined %]
<span>Total holds: [% holds_count %]i</span>
<span>Total holds: [% holds_count %]</span>
[% END %]
[% IF priority %]
[% IF holds_count.defined %]
@ -992,7 +992,7 @@
[% IF ( XISBN.publishercode ) %]
<p>[% XISBN.publishercode |html %]
[% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
[% IF ( XISBN.publicationyear ) _ ', ' _ XISBN.publicationyear %][% END %]
[% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear %][% END %]
[% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
</p>
[% END %]