From c17e0ad4016933dbb992e1535ddd58aae3ff7c7c Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 20 Aug 2011 19:02:01 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 6458: Incorrect translation processing / sco-main.tt Content-Type: text/plain; charset="utf-8" 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 --- .../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.3