From 6b088fa833799c67280a6f47bcf5f980b99a78ae Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 7 Nov 2011 15:30:20 +1300 Subject: [PATCH] Bug 7268: Fixing failing tests for translatable templates To test run perl xt/author/translatable-templates.t Signed-off-by: Katrin Fischer Test runs without any complaints about the fixed templates now. Also checked detail pages without XSLT turned on display correctly. (cherry picked from commit 66fa8288461c8f14108a507de91977b3394d1c0c) Signed-off-by: Chris Nighswonger --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++-- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index b1e225fdc2..019fa10e86 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -114,7 +114,7 @@ function verify_images() { [% IF ( MARCAUTHORS ) %]
  • Additional Authors:
      [% FOREACH MARCAUTHOR IN MARCAUTHORS %] -
    • [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %][% END %]
    • +
    • [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %][% END %]
    • [% END %]
    @@ -183,7 +183,7 @@ function verify_images() {
  • Subjects:
  • diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 8cba98b2c8..3175d47943 100755 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -266,7 +266,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( MARCAUTHORS ) %] Authors: [% FOREACH MARCAUTHOR IN MARCAUTHORS %] - [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %][% END %] + [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %][% END %] [% UNLESS ( loop.last ) %]| [% END %] [% END %] -- 2.39.5