From b947d06b3a86b60275ef81158a68a7c84f6166a2 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 20 Aug 2011 19:02:01 +0200 Subject: [PATCH] Bug 6458: Incorrect translation processing / sco-main.tt Patch removes templates directives from HTML tags in sco-main.tt Problems were related to buttons for renewing items. Signed-off-by: Chris Cormack Before opac-tmpl/prog/en/modules/sco/sco-main.tt: 135, 222 After, no errors --- .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt index ddb6dfa..67b5ba8 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt @@ -132,7 +132,8 @@ $(document).ready(function() { [% END %] [% END %] - +[% UNLESS ( renew ) %] +[% ELSE %][% END %] @@ -219,7 +220,8 @@ Sorry, This Self-Checkout Station has lost authentication. Please contact the a No renewals allowed [% END %] [% ELSE %] - + [% UNLESS ( ISSUE.renew ) %] + [% ELSE %][% END %] [% END %] -- 1.7.4.1