From ff591f2c77a2a3c1de4a0e7167ccfeba08c2f128 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 4 Aug 2017 16:44:51 +0200 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 6770395381..9d1f2b9534 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -547,7 +547,7 @@
  • [% END %] [% BLOCK holding_tab_title %][% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %][% END %] - [% INCLUDE holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' %][% END %] + [% PROCESS holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' %][% END %]
  • [% IF (SeparateHoldings) %]
  • Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' %]
  • @@ -664,7 +664,7 @@ [% IF holds_count.defined || priority %]
    [% IF holds_count.defined %] - Total holds: [% holds_count %]i + Total holds: [% holds_count %] [% END %] [% IF priority %] [% IF holds_count.defined %] @@ -1001,7 +1001,7 @@ [% IF ( XISBN.publishercode ) %]

    [% 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 %]

    [% END %] -- 2.39.5