From cc942cba63b9939072fd624bcbbcb782f733c353 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Tue, 27 Sep 2011 14:09:45 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 6633: SCO return button doesn't work A template toolkit scope issue was preventing the Renew button from working properly, as well as displaying the fines column even if no fines column header was displaying. This patch adjusts the scope of several T:T variables on the sco-main template to fix this Signed-off-by: Ian Walls Signed-off-by: Nicole C. Engard --- .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 6 +++--- 1 files changed, 3 insertions(+), 3 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 67b5ba8..fb9e0be 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 @@ -203,14 +203,14 @@ Sorry, This Self-Checkout Station has lost authentication. Please contact the a [% FOREACH ISSUE IN ISSUES %] [% UNLESS ( loop.odd ) %][% ELSE %][% END %] - [% IF ( ISSUE.amazonimages ) %] [% IF ( ISSUE.isbn ) %]Book Cover Image[% END %] [% END %][% UNLESS ( ISSUE.noitemlinks ) %][% ISSUE.title |html %][% ELSE %][% ISSUE.title |html %][% END %] + [% UNLESS ( ISSUE.noitemlinks ) %][% ISSUE.title |html %][% ELSE %][% ISSUE.title |html %][% END %] [% ISSUE.author %] ([% ISSUE.barcode %]) [% ISSUE.itemcallnumber %] [% IF ( ISSUE.overdue ) %][% ISSUE.date_due_display %][% ELSE %][% ISSUE.date_due_display %][% END %]
- + [% IF ( ISSUE.norenew ) %] @@ -225,7 +225,7 @@ Sorry, This Self-Checkout Station has lost authentication. Please contact the a [% END %]
- [% UNLESS ( ISSUE.nofines ) %][% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %][% END %] + [% UNLESS ( nofines ) %][% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %][% END %] [% END %] -- 1.7.2.3