From 550a38143a5898dc7c4ef09be215dcb27aab1034 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 1 Sep 2011 10:26:19 -0400 Subject: [PATCH] Fix for Bug 6458 - incorrect parsing result in translation processing Fixing improperly nested template logic inside HTML tags in member details template. Signed-off-by: Chris Cormack --- .../prog/en/modules/members/moremember.tt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index cfa75ca6d8..db9ae4d10b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -437,7 +437,12 @@ function validate1(date) { [% ELSE %] [% END %] - [% issueloo.date_due %] + [% IF ( issueloo.red ) %] + + [% ELSE %] + + [% END %] + [% issueloo.date_due %] [% IF ( issueloo.itemlost ) %] [% issueloo.itemlost %] [% END %] @@ -538,7 +543,12 @@ function validate1(date) { [% ELSE %] [% END %] - [% relissueloo.date_due %] + [% IF ( relissueloo.red ) %] + + [% ELSE %] + + [% END %] + [% relissueloo.date_due %] [% IF ( relissueloo.itemlost ) %] [% relissueloo.itemlost %] [% END %] -- 2.39.5