@@ -, +, @@ w/o JavaScript - Capitalization error - Miss-named variable causing the "too many checkouts" not to be displayed - Misplaced [% END %] tags hidding "Return to account" button on some dialogs. - Corrected variable scope error which prevented the "return" button from appearing. --- .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 24 +++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) --- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt @@ -101,12 +101,12 @@ $(document).ready(function() {
[% IF ( impossible ) %] -

Item cannot be checked out.

Sorry, This item cannot be checked out at this station.

+

Item cannot be checked out.

Sorry, this item cannot be checked out at this station.

[% IF ( title ) %]

Title: [% title |html %]

[% END %]

[% IF ( circ_error_UNKNOWN_BARCODE ) %] MESSAGE 1: The system does not recognize this barcode. - [% ELSIF ( circ_error_TOO_MANY ) %] + [% ELSIF ( circ_error_max_loans_allowed ) %] MESSAGE 2: You have checked out too many items and can't check out any more. [% ELSIF ( circ_error_ISSUED_TO_ANOTHER ) %] MESSAGE 3: This item is checked out to someone else. @@ -145,6 +145,8 @@ $(document).ready(function() { +[% END %] +[% END %]

@@ -152,8 +154,6 @@ $(document).ready(function() {
[% END %] -[% END %] -[% END %] [% IF ( confirm ) %]

Please confirm the checkout:

[% IF ( confirm_renew_issue ) %]This item is already checked out to you.[% END %]

@@ -263,19 +263,21 @@ Sorry, this self-checkout station has lost authentication. Please contact the a [% IF ( ISSUE.overdue ) %][% ISSUE.date_due | $KohaDates %][% ELSE %][% ISSUE.date_due | $KohaDates %][% END %]
- - [% IF ( ISSUE.norenew ) %] - [% IF ( ISSUE.AllowSelfCheckReturns ) %] - + [% IF ( AllowSelfCheckReturns ) %] + + + [% ELSE %] - No renewals allowed + No renewals allowed [% END %] [% ELSE %] - [% UNLESS ( ISSUE.renew ) %] - [% ELSE %][% END %] + + + [% UNLESS ( ISSUE.renew ) %] + [% ELSE %][% END %] [% END %]
--