From a291cc52ca79ed11e0032e73b380b17f3bf308cb Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Tue, 27 Sep 2011 14:09:45 -0400 Subject: [PATCH] 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 Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt | 6 +++--- 1 file 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 67b5ba85fa..fb9e0be099 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 %] -- 2.39.5