From 38920a3fe11c91d1111fc1e282567614c0892c43 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 Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack (cherry picked from commit 4530159ce13eb6ff823d6ef49ad847d92556f356) Signed-off-by: Chris Nighswonger --- koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt | 6 ++++-- 1 file 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 ddb6dfaf6c..67b5ba85fa 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 %] -- 2.39.5