From 597240e878a2a9808ce103508a42d9ed34a11422 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 25 Aug 2011 15:37:25 -0400 Subject: [PATCH] Fix for Bug 6458 - incorrect parsing result in translation processing Correction in opac holds template. Corrections made are logically consistent, but I couldn't reproduce the combination of factors to trigger the "disabled" attribute on the branch selector. In that respect this hasn't been tested 100%. Signed-off-by: Katrin Fischer Signed-off-by: Chris Cormack --- .../opac-tmpl/prog/en/modules/opac-reserve.tt | 33 ++++++++++++------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt index 5c38ed4712..ca491522cc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt @@ -428,17 +428,28 @@ [% IF ( bibitemloo.holdable ) %] [% IF ( choose_branch ) %] - - + [% UNLESS ( bibitemloo.holdable ) %] + + [% ELSE %] + + [% END %] + [% END %] [% END %] [% END %] -- 2.39.5