From 5560117741704b75c6282516b1816fe43c9f6de3 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 25 Aug 2011 15:37:25 -0400 Subject: [PATCH] [SIGNED-OFF] Fix for Bug 6458 - incorrect parsing result in translation processing Content-Type: text/plain; charset="utf-8" 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 --- .../opac-tmpl/prog/en/modules/opac-reserve.tt | 33 +++++++++++++------ 1 files 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 4d81a17..543b469 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt @@ -423,17 +423,28 @@ [% IF ( bibitemloo.holdable ) %] [% IF ( choose_branch ) %] - - + [% UNLESS ( bibitemloo.holdable ) %] + + [% ELSE %] + + [% END %] + [% END %] [% END %] [% END %] -- 1.6.3.3