From: Ian Walls Date: Tue, 27 Sep 2011 18:09:45 +0000 (-0400) Subject: Bug 6633: SCO return button doesn't work X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=a291cc52ca79ed11e0032e73b380b17f3bf308cb;hp=973371a68b1c2a8af7d90afab8db15bda567f606;p=koha.git 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 --- 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 %]