From f667d87b59dd38f892a8afb45e5b1f3bea97fe7e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 20 Mar 2025 13:48:03 +0100 Subject: [PATCH] Bug 39395: Fix #wrapper closing tag in sco The module was displayed at the bottom of the screen. It's caused by the closing tag of #wrapper that has been added by bug 38664 inside the include file. It is wrong, the div.main should be within #wrapper. The correct fix is to move #wrapper out of the include file, so that the HTML structure is correct (and the prettier plugin is happy) in the .tt files Test plan: Confirm the bug Apply this patch Go to the SCO module and confirm that the module is correctly placed at the top of the screen Please review this patch using `git show -w HEAD` Signed-off-by: David Nind --- .../bootstrap/en/includes/masthead-sco.inc | 66 +- .../bootstrap/en/modules/sco/help.tt | 56 +- .../bootstrap/en/modules/sco/sco-main.tt | 1166 +++++++++-------- 3 files changed, 645 insertions(+), 643 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc index 1902e20db3..9faafaa507 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc @@ -5,42 +5,40 @@ [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %] [% SET OpacHeader = AdditionalContents.get( location => "opacheader", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] -
-
- + - [% IF ( OpacHeader ) %] -
-
-
[% PROCESS koha_news_block news => OpacHeader %]
-
+ [% IF ( OpacHeader ) %] +
+
+
[% PROCESS koha_news_block news => OpacHeader %]
- [% END # /IF opacheader %] -
- +
+ [% END # /IF opacheader %]
+ diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt index b421b1f40a..918f78442b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt @@ -45,48 +45,50 @@ [% Asset.js('js/i18n.js') | $raw %] -[% INCLUDE 'masthead-sco.inc' %] +
+ [% INCLUDE 'masthead-sco.inc' %] -
-
-
-
-

Self checkout help

+
+
+
+
+

Self checkout help

- [% IF ( SelfCheckHelpMessage ) %] -
[% PROCESS koha_news_block news => SelfCheckHelpMessage %]
- [% END %] + [% IF ( SelfCheckHelpMessage ) %] +
[% PROCESS koha_news_block news => SelfCheckHelpMessage %]
+ [% END %] -
-

If this is your first time using the self checkout system, or if the system is not behaving as expected, you may want to refer to this guide to get yourself started.

+
+

If this is your first time using the self checkout system, or if the system is not behaving as expected, you may want to refer to this guide to get yourself started.

-

Step one: Enter your user ID[% IF ( SelfCheckoutByLogin ) %]and password[% END %]

+

Step one: Enter your user ID[% IF ( SelfCheckoutByLogin ) %]and password[% END %]

-

Enter your user ID[% IF ( SelfCheckoutByLogin ) %]and password[% END %], and click the submit button (or press the enter key).

+

Enter your user ID[% IF ( SelfCheckoutByLogin ) %]and password[% END %], and click the submit button (or press the enter key).

-

Step two: Scan the barcode for each item, one at a time

+

Step two: Scan the barcode for each item, one at a time

-

Scan each item and wait for the page to reload before scanning the next item. The checked-out item should appear in your checkouts list. The submit button only needs to be clicked if you enter the barcode - manually.

+

Scan each item and wait for the page to reload before scanning the next item. The checked-out item should appear in your checkouts list. The submit button only needs to be clicked if you enter the barcode + manually.

-

Step three: Click the 'Finish' button

+

Step three: Click the 'Finish' button

-

If you do not click the 'Finish' button, your session will automatically expire in [% SelfCheckTimeout | html %] seconds.

-
+

If you do not click the 'Finish' button, your session will automatically expire in [% SelfCheckTimeout | html %] seconds.

+
- +
- +
- +
- +
- [% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt index 15f863e122..52530b7e18 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -57,237 +57,314 @@ [% Asset.js('js/i18n.js') | $raw %] -[% INCLUDE 'masthead-sco.inc' %] +
+ [% INCLUDE 'masthead-sco.inc' %] -
- [% IF ( display_patron_image ) %] - [% SET main_div_class = 'col-10 order-first order-md-first order-lg-2' %] - [% ELSE %] - [% SET main_div_class = 'col order-first order-md-first order-lg-2' %] - [% END %] - - [% UNLESS ( hide_main ) %] - [% IF ( validuser ) %] -
-
-
-

[% LibraryName | html %] Self checkout system

- - [% PROCESS display_errors %] - -
You are logged in as [% borrowername | html %].
- [% INCLUDE 'opac-note.inc' sco="true" %] - [% IF patron_has_hold_fee %] -
A hold fee was charged to your account for collecting this item.
- [% END %] +
+ [% IF ( display_patron_image ) %] + [% SET main_div_class = 'col-10 order-first order-md-first order-lg-2' %] + [% ELSE %] + [% SET main_div_class = 'col order-first order-md-first order-lg-2' %] + [% END %] -
-
- [% INCLUDE 'csrf-token.inc' %] -

- [% IF ( Koha.Preference('SCOAllowCheckin') ) %] - Check out, return, or renew an item: - [% ELSE %] - Check out or renew an item: - [% END %] -

-
-
- -
-
- [% IF batch_checkouts_allowed %] - - [% ELSE %] - - [% END %] -
-
- -
-
- - - - - + [% UNLESS ( hide_main ) %] + [% IF ( validuser ) %] +
+
+
+

[% LibraryName | html %] Self checkout system

+ + [% PROCESS display_errors %] + +
You are logged in as [% borrowername | html %].
+ [% INCLUDE 'opac-note.inc' sco="true" %] + [% IF patron_has_hold_fee %] +
A hold fee was charged to your account for collecting this item.
+ [% END %] + +
+ + [% INCLUDE 'csrf-token.inc' %] +

+ [% IF ( Koha.Preference('SCOAllowCheckin') ) %] + Check out, return, or renew an item: + [% ELSE %] + Check out or renew an item: + [% END %] +

+
+
+ +
+
+ [% IF batch_checkouts_allowed %] + + [% ELSE %] + + [% END %] +
+
+ +
+
+ + + + + +
-
- - - + + + +
+
- + + [% IF ( display_patron_image ) %] +
+ +
+ [% END %]
- - [% IF ( display_patron_image ) %] -
- -
- [% END %] +
- -
- - -
-
-
- [% WRAPPER tabs %] - [% WRAPPER tabs_nav %] - [% WRAPPER tab_item tabname= "checkouts" bt_active= 1 %] - Checkouts ([% issues_count | html %]) - [% END %] - [% WRAPPER tab_item tabname= "holds" %] - [% IF waiting_holds_count %] - + + +
+
+
+ [% WRAPPER tabs %] + [% WRAPPER tabs_nav %] + [% WRAPPER tab_item tabname= "checkouts" bt_active= 1 %] + Checkouts ([% issues_count | html %]) [% END %] - Holds ([% HOLDS.count | html %]) - [% END %] - [% WRAPPER tab_item tabname= "account" %] - Charges ([% total | $Price %]) - [% END %] - [% END # /WRAPPER tabs_nav %] - - [% WRAPPER tab_panels %] - [% WRAPPER tab_panel tabname="checkouts" bt_active= 1 %] -
-
- [% IF ( new_issue ) %] -
-

- Checked out: - [% new_issue.item.biblio.title | html %] ([% new_issue.item.barcode | html %]). - [% IF new_issue.item.is_bundle %] - [% SET bundle_items_count = new_issue.item.bundle_items.count %] - [% tnx('Bundle of {count} item', 'Bundle of {count} items', bundle_items_count, { count = bundle_items_count }) | html %]. - [% END %] - Due on [% new_issue.date_due | $KohaDates as_due_date => 1 %] -

-
- [% END %] - [% IF ( issues_count ) %] - [% IF ( Koha.Preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] - - - - - - - - - - - [% UNLESS ( nofines ) %] - - [% END %] - - - - - [% FOREACH ISSUE IN ISSUES %] + [% WRAPPER tab_item tabname= "holds" %] + [% IF waiting_holds_count %] + + [% END %] + Holds ([% HOLDS.count | html %]) + [% END %] + [% WRAPPER tab_item tabname= "account" %] + Charges ([% total | $Price %]) + [% END %] + [% END # /WRAPPER tabs_nav %] + + [% WRAPPER tab_panels %] + [% WRAPPER tab_panel tabname="checkouts" bt_active= 1 %] +
+
+ [% IF ( new_issue ) %] +
+

+ Checked out: + [% new_issue.item.biblio.title | html %] ([% new_issue.item.barcode | html %]). + [% IF new_issue.item.is_bundle %] + [% SET bundle_items_count = new_issue.item.bundle_items.count %] + [% tnx('Bundle of {count} item', 'Bundle of {count} items', bundle_items_count, { count = bundle_items_count }) | html %]. + [% END %] + Due on [% new_issue.date_due | $KohaDates as_due_date => 1 %] +

+
+ [% END %] + [% IF ( issues_count ) %] + [% IF ( Koha.Preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] +
Checkouts for [% borrowername | html %] ([% issues_count | html %] total)
Checked out onTitleCall numberDueRenewFines
+ + + - - - - [% IF ( ISSUE.overdue ) %] - - [% ELSE %] - + + + + + + [% UNLESS ( nofines ) %] + [% END %] - + + + + [% FOREACH ISSUE IN ISSUES %] + + + + + [% IF ( ISSUE.overdue ) %] + + [% ELSE %] + + [% END %] + - [% UNLESS ( nofines ) %] - - [% END %] - - - [% END # / FOREACH ISSUE %] - -
Checkouts for [% borrowername | html %] ([% issues_count | html %] total)
[% ISSUE.issuedate | html %] - [% UNLESS ( noitemlinks ) %] - [% ISSUE.title | html %] - [% ELSE %] - [% ISSUE.title | html %] - [% END %] - [% IF ( newissues.match(ISSUE.barcode)) %] - NEW - [% END %] - [% ISSUE.author | html %] - ([% ISSUE.barcode | html %]) - [% ISSUE.itemcallnumber | html %] [% ISSUE.date_due | $KohaDates as_due_date => 1 %] [% ISSUE.date_due | $KohaDates as_due_date => 1 %] Checked out onTitleCall numberDueRenewFines -
- [% INCLUDE 'csrf-token.inc' %] - Issue renews - - - - - [% IF ISSUE.can_be_renewed %] - - - [% UNLESS ( ISSUE.renew ) %] - - [% ELSE %] - - [% END %] +
[% ISSUE.issuedate | html %] + [% UNLESS ( noitemlinks ) %] + [% ISSUE.title | html %] [% ELSE %] - [% IF ISSUE.renew_error == 'onsite_checkout' %] - This is a on-site checkout, it cannot be renewed. - [% ELSIF ISSUE.renew_error == 'too_unseen' %] - You have renewed this item the maximum number of consecutive times without it being seen by the library. - [% ELSIF ISSUE.renew_error == 'too_soon' %] - This item cannot yet be renewed. + [% ISSUE.title | html %] + [% END %] + [% IF ( newissues.match(ISSUE.barcode)) %] + NEW + [% END %] + [% ISSUE.author | html %] + ([% ISSUE.barcode | html %]) + [% ISSUE.itemcallnumber | html %] [% ISSUE.date_due | $KohaDates as_due_date => 1 %] [% ISSUE.date_due | $KohaDates as_due_date => 1 %] + + [% INCLUDE 'csrf-token.inc' %] + Issue renews + + + + + [% IF ISSUE.can_be_renewed %] + + + [% UNLESS ( ISSUE.renew ) %] + + [% ELSE %] + + [% END %] [% ELSE %] - No renewals allowed + [% IF ISSUE.renew_error == 'onsite_checkout' %] + This is a on-site checkout, it cannot be renewed. + [% ELSIF ISSUE.renew_error == 'too_unseen' %] + You have renewed this item the maximum number of consecutive times without it being seen by the library. + [% ELSIF ISSUE.renew_error == 'too_soon' %] + This item cannot yet be renewed. + [% ELSE %] + No renewals allowed + [% END %] + [% IF Koha.Preference('SCOAllowCheckin') %] +
+ + + +
+ [% END %] [% END %] - [% IF Koha.Preference('SCOAllowCheckin') %] -
- - - -
+ [% IF ISSUE.auto_renew %] +
This item is scheduled for automatic renewal [% END %] - [% END %] - [% IF ISSUE.auto_renew %] -
This item is scheduled for automatic renewal - [% END %] - -
[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %]
+ + + [% UNLESS ( nofines ) %] + [% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] + [% END %] + + + [% END # / FOREACH ISSUE %] + + + [% ELSE %] + Show your checkouts + [% END # / IF ( Koha.preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] [% ELSE %] - Show your checkouts - [% END # / IF ( Koha.preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] - [% ELSE %] -

You currently have nothing checked out.

- [% END # / IF issues_count %] +

You currently have nothing checked out.

+ [% END # / IF issues_count %] +
+
- -
- [% END # /tab_panel %] - [% WRAPPER tab_panel tabname="holds" %] - [% IF HOLDS.count > 0 %] - [% PROCESS 'holds-table.inc' HOLDS = HOLDS, SuspendHoldsOpac = SuspendHoldsOpac, showpriority = showpriority, AutoResumeSuspendedHolds = AutoResumeSuspendedHolds, onlyinfo = 'true' %] - [% ELSE %] -

You currently have no pending holds.

- [% END %] - [% END # /tab_panel %] - [% WRAPPER tab_panel tabname="account" %] - [% PROCESS 'account-table.inc' %] - [% END # /tab_panel %] - [% END # /WRAPPER tab_panels %] - [% END # /WRAPPER tabs %] - - [% IF ( SCOMainUserBlock ) %] -
[% PROCESS koha_news_block news => SCOMainUserBlock %]
- [% END %] + [% END # /tab_panel %] + [% WRAPPER tab_panel tabname="holds" %] + [% IF HOLDS.count > 0 %] + [% PROCESS 'holds-table.inc' HOLDS = HOLDS, SuspendHoldsOpac = SuspendHoldsOpac, showpriority = showpriority, AutoResumeSuspendedHolds = AutoResumeSuspendedHolds, onlyinfo = 'true' %] + [% ELSE %] +

You currently have no pending holds.

+ [% END %] + [% END # /tab_panel %] + [% WRAPPER tab_panel tabname="account" %] + [% PROCESS 'account-table.inc' %] + [% END # /tab_panel %] + [% END # /WRAPPER tab_panels %] + [% END # /WRAPPER tabs %] + + [% IF ( SCOMainUserBlock ) %] +
[% PROCESS koha_news_block news => SCOMainUserBlock %]
+ [% END %] +
+
- +
- -
- - [% ELSE # IF validuser %] + + [% ELSE # IF validuser %] +
+
+
+

[% LibraryName | html %] Self checkout system

+ + [% PROCESS display_errors %] + + [% IF patronid && nouser %] +
+

Sorry

+

The userid [% patronid | html %] was not found in the database. Please try again.

+
+ [% END %] + +
+
+ [% INCLUDE 'csrf-token.inc' %] +
+ Log in to your account +
+
+ [% IF ( Koha.Preference('SelfCheckoutByLogin') ) %] +
+
[% PROCESS login_label for="patronlogin" %]
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + [% ELSE %] +
+
+ +
+
+ +
+
+ +
+
+ + [% END %] +
+ +
+ + [% FOREACH INPUT IN INPUTS %] + + [% END %] + +
+
+ +
+ + [% IF ( SCOMainUserBlock ) %] +
[% PROCESS koha_news_block news => SCOMainUserBlock %]
+ [% END %] +
+ +
+ +
+ + [% END # / IF validuser %] + [% ELSE # / UNLESS ( hide_main %]
@@ -295,64 +372,6 @@ [% PROCESS display_errors %] - [% IF patronid && nouser %] -
-

Sorry

-

The userid [% patronid | html %] was not found in the database. Please try again.

-
- [% END %] - -
-
- [% INCLUDE 'csrf-token.inc' %] -
- Log in to your account -
-
- [% IF ( Koha.Preference('SelfCheckoutByLogin') ) %] -
-
[% PROCESS login_label for="patronlogin" %]
-
- -
-
- -
-
- -
-
- -
-
- - [% ELSE %] -
-
- -
-
- -
-
- -
-
- - [% END %] -
- -
- - [% FOREACH INPUT IN INPUTS %] - - [% END %] - -
-
- -
- [% IF ( SCOMainUserBlock ) %]
[% PROCESS koha_news_block news => SCOMainUserBlock %]
[% END %] @@ -362,355 +381,338 @@
- [% END # / IF validuser %] - [% ELSE # / UNLESS ( hide_main %] -
-
-
-

[% LibraryName | html %] Self checkout system

- - [% PROCESS display_errors %] + [% END # / UNLESS ( hide_main %] +
+ + + + [% INCLUDE 'opac-bottom.inc' %] + [% BLOCK jsinclude %] + [% INCLUDE 'datatables.inc' %] + - [% IF ( Koha.Preference('SCOUserJS') ) %] - + [% IF ( Koha.Preference('SCOUserJS') ) %] + + [% END %] [% END %] -[% END %] -[% BLOCK display_errors %] - [% FOREACH item IN impossible %] - -
- -

Item cannot be checked out.

-

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

- [% IF ( item.title ) %] -

Title: [% item.title | html %]

- [% END %] + [% BLOCK display_errors %] + [% FOREACH item IN impossible %] + +
+ +

Item cannot be checked out.

+

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

+ [% IF ( item.title ) %] +

Title: [% item.title | html %]

+ [% END %] -

- [% IF ( item.circ_error_UNKNOWN_BARCODE ) %] - The system does not recognize this barcode. - [% ELSIF ( item.circ_error_max_loans_allowed ) %] - You have reached the maximum limit of items checked out. - [% ELSIF ( item.circ_error_ISSUED_TO_ANOTHER ) %] - This item is checked out to someone else. - [% ELSIF ( item.circ_error_NO_MORE_RENEWALS ) %] - You cannot renew this item again. - [% ELSIF ( item.circ_error_NOT_FOR_LOAN ) %] - This item is not for loan. - [% ELSIF ( item.circ_error_DEBT ) %] - You owe the library [% item.DEBT | $Price with_symbol => 1 %] and cannot check out. - [% ELSIF ( item.circ_error_WTHDRAWN ) %] - This item has been withdrawn from the collection. - [% ELSIF ( item.circ_error_RESTRICTED ) %] - This item is restricted. - [% ELSIF ( item.circ_error_RESERVED ) %] - This item is on hold for another patron. - [% ELSIF ( item.circ_error_ITEMNOTSAMEBRANCH ) %] - This item belongs to another library. - [% ELSIF ( item.circ_error_EXPIRED ) %] - Your account has expired. - [% ELSIF ( item.circ_error_DEBARRED ) %] - Your account has been suspended. - [% ELSIF ( item.circ_error_CARD_LOST ) %] - This library card has been declared lost. - [% ELSIF ( item.circ_error_GNA ) %] - Your contact information seems to be incomplete. - [% ELSIF ( item.circ_error_INVALID_DATE ) %] - Due date is not valid. - [% ELSIF ( item.circ_error_ADDITIONAL_MATERIALS ) %] - Item must be checked out at a circulation desk. +

+ [% IF ( item.circ_error_UNKNOWN_BARCODE ) %] + The system does not recognize this barcode. + [% ELSIF ( item.circ_error_max_loans_allowed ) %] + You have reached the maximum limit of items checked out. + [% ELSIF ( item.circ_error_ISSUED_TO_ANOTHER ) %] + This item is checked out to someone else. + [% ELSIF ( item.circ_error_NO_MORE_RENEWALS ) %] + You cannot renew this item again. + [% ELSIF ( item.circ_error_NOT_FOR_LOAN ) %] + This item is not for loan. + [% ELSIF ( item.circ_error_DEBT ) %] + You owe the library [% item.DEBT | $Price with_symbol => 1 %] and cannot check out. + [% ELSIF ( item.circ_error_WTHDRAWN ) %] + This item has been withdrawn from the collection. + [% ELSIF ( item.circ_error_RESTRICTED ) %] + This item is restricted. + [% ELSIF ( item.circ_error_RESERVED ) %] + This item is on hold for another patron. + [% ELSIF ( item.circ_error_ITEMNOTSAMEBRANCH ) %] + This item belongs to another library. + [% ELSIF ( item.circ_error_EXPIRED ) %] + Your account has expired. + [% ELSIF ( item.circ_error_DEBARRED ) %] + Your account has been suspended. + [% ELSIF ( item.circ_error_CARD_LOST ) %] + This library card has been declared lost. + [% ELSIF ( item.circ_error_GNA ) %] + Your contact information seems to be incomplete. + [% ELSIF ( item.circ_error_INVALID_DATE ) %] + Due date is not valid. + [% ELSIF ( item.circ_error_ADDITIONAL_MATERIALS ) %] + Item must be checked out at a circulation desk. + [% END %] + Please see a member of the library staff. +

+ + [% IF ( item.returnitem && Koha.Preference('SCOAllowCheckin') ) %] +
+ [% INCLUDE 'csrf-token.inc' %] + Return + + + + + + +
[% END %] - Please see a member of the library staff. -

- - [% IF ( item.returnitem && Koha.Preference('SCOAllowCheckin') ) %] -
- [% INCLUDE 'csrf-token.inc' %] - Return - + + + Error + - +
- [% END %] +
+ + [% END # / FOREACH impossible %] + + [% FOREACH c IN confirm %] + +

Please confirm the checkout:

+ + [% IF ( c.confirm_renew_issue ) %] +

This item is already checked out to you: [% c.confirm | html %] ([% c.barcode | html %])

+ [% END %] -
- Error - - - - - - -
-
- - [% END # / FOREACH impossible %] - - [% FOREACH c IN confirm %] - -

Please confirm the checkout:

- - [% IF ( c.confirm_renew_issue ) %] -

This item is already checked out to you: [% c.confirm | html %] ([% c.barcode | html %])

- [% END %] + [% IF ( c.renew && Koha.Preference('SCOAllowCheckin') ) %] +
+ [% INCLUDE 'csrf-token.inc' %] + Return + + + + + + + +
+ [% END %] - [% IF ( c.renew && Koha.Preference('SCOAllowCheckin') ) %] -
- [% INCLUDE 'csrf-token.inc' %] - Return - - - - - - - -
- [% END %] + [% UNLESS ( c.renew ) %] +
+ [% INCLUDE 'csrf-token.inc' %] + Renew + + + + + + + +
+ [% ELSE %] +
+ [% INCLUDE 'csrf-token.inc' %] + Renew + + + + + + + +
+ [% END %] - [% UNLESS ( c.renew ) %] -
- [% INCLUDE 'csrf-token.inc' %] - Renew - + + Cancel + - - - +
- [% ELSE %] -
- [% INCLUDE 'csrf-token.inc' %] - Renew - - - - - - - -
- [% END %] - -
- Cancel - - - - - -
-
- [% END # / FOREACH confirm %] - - [% IF ( nopermission ) %] - -
- -

Access denied

-

Sorry, this self-checkout station has lost authentication. Please contact the administrator to resolve this problem.

-
- [% END %] +
+ [% END # / FOREACH confirm %] + + [% IF ( nopermission ) %] + +
+ +

Access denied

+

Sorry, this self-checkout station has lost authentication. Please contact the administrator to resolve this problem.

+
+ [% END %] - [% IF ( different_ip ) %] - -
- -

Session lost

-

You are accessing self-checkout from a different IP address! please log in again.

-
- [% END %] + [% IF ( different_ip ) %] + +
+ +

Session lost

+

You are accessing self-checkout from a different IP address! please log in again.

+
+ [% END %] - [% IF ( invalid_username_or_password ) %] - -
- -

Record not found

-

Your userid was not found in the database. Please try again.

-
- [% END %] + [% IF ( invalid_username_or_password ) %] + +
+ +

Record not found

+

Your userid was not found in the database. Please try again.

+
+ [% END %] - [% IF ( issued ) %] - [% IF batch_checkouts_allowed %] - [% FOREACH barcode IN newissues.split(',') %] + [% IF ( issued ) %] + [% IF batch_checkouts_allowed %] + [% FOREACH barcode IN newissues.split(',') %] + +
+

Item checked out ([% barcode | html %])

+
+ [% END %] + [% ELSE %]
-

Item checked out ([% barcode | html %])

+

Item checked out ([% newissues.split(',').last | html %])

[% END %] - [% ELSE %] - + [% ELSIF ( renewed ) %] +
-

Item checked out ([% newissues.split(',').last | html %])

+

Item renewed ([% barcode | html %])

+
+ [% ELSIF ( renewed == 0) %] + +
+

Item not renewed

+
+ [% ELSIF ( returned == 0 ) %] + +
+

Item not checked in: please see circulation staff for assistance

+
+ [% ELSIF ( returned == 1 ) %] + +
+

Item checked in ([% barcode | html %])

[% END %] - [% ELSIF ( renewed ) %] - -
-

Item renewed ([% barcode | html %])

-
- [% ELSIF ( renewed == 0) %] - -
-

Item not renewed

-
- [% ELSIF ( returned == 0 ) %] - -
-

Item not checked in: please see circulation staff for assistance

-
- [% ELSIF ( returned == 1 ) %] - -
-

Item checked in ([% barcode | html %])

-
[% END %] -[% END %] +
-- 2.39.5