From 93cda0b0d2feeee2a4ba5fbb6bd1447eee6e8aa4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 20 Jan 2026 12:39:08 -0500 Subject: [PATCH] Bug 41144: (follow-up) Tidy --- .../bootstrap/en/includes/masthead-sci.inc | 66 +- .../bootstrap/en/includes/masthead-sco.inc | 1 - .../bootstrap/en/modules/sco/sco-main.tt | 1140 ++++++++--------- 3 files changed, 602 insertions(+), 605 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sci.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sci.inc index d5868c1497b..7788f92935e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sci.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sci.inc @@ -4,22 +4,21 @@ [% PROCESS 'html_helpers.inc' %] [% 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/includes/masthead-sco.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc index 5bacc2df1a3..1739c4be29e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc @@ -4,7 +4,6 @@ [% PROCESS 'html_helpers.inc' %] [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %] [% SET OpacHeader = AdditionalContents.get( location => "opacheader", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] -
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 a5f33e1e500..50e67890aa7 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 @@ -58,43 +58,43 @@ - [% 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 %] +
+ [% 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 %] - -
-
- [% INCLUDE 'csrf-token.inc' %] -
- -

- [% IF ( Koha.Preference('SCOAllowCheckin') ) %] - Check out, return, or renew an item: - [% ELSE %] - Check out or renew an item: - [% 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 %] +

+
@@ -118,269 +118,188 @@
-
- - -
- +
+ +
- - [% IF ( display_patron_image ) %] -
- -
- [% END %] +
- - -
-
- [% WRAPPER tabs id="checkouts" %] - [% WRAPPER tabs_nav %] - [% WRAPPER tab_item tabname= "checkouts" bt_active= 1 %] - Checkouts ([% issues_count | html %]) + + [% IF ( display_patron_image ) %] +
+ +
+ [% END %] +
+ + +
+
+ [% WRAPPER tabs id="checkouts" %] + [% 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 %] + [% END %] - [% WRAPPER tab_item tabname= "holds" %] - [% IF waiting_holds_count %] - + 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 %] - 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 %]. + [% IF ( issues_count ) %] + [% IF ( Koha.Preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] + + + + + + + + + + + [% IF Koha.Preference('SCOAllowCheckin') %] + [% 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 numberDueRenewCheck in
- - - - - - - - - - [% IF Koha.Preference('SCOAllowCheckin') %] - + [% UNLESS ( nofines ) %] + + [% END %] + + + + + [% FOREACH ISSUE IN ISSUES %] + + + + [% IF ( newissues.match(ISSUE.barcode)) %] + NEW [% END %] - - - - - [% FOREACH ISSUE IN ISSUES %] - - - + + [% IF ( ISSUE.overdue ) %] + + [% ELSE %] + + [% END %] + - - [% IF ( ISSUE.overdue ) %] - - [% ELSE %] - - [% END %] - + [% IF Koha.Preference('SCOAllowCheckin') %] + - [% IF Koha.Preference('SCOAllowCheckin') %] - - [% END %] - [% UNLESS ( nofines ) %] - - [% END %] - - - [% END # / FOREACH ISSUE %] - -
Checkouts for [% borrowername | html %] ([% issues_count | html %] total)
Checked out onTitleCall numberDueRenewCheck inFines
[% ISSUE.issuedate | html %] + [% UNLESS ( noitemlinks ) %] + [% ISSUE.title | html %] + [% ELSE %] + [% ISSUE.title | html %] [% END %] - [% UNLESS ( nofines ) %] - Fines
[% ISSUE.issuedate | html %] - [% UNLESS ( noitemlinks ) %] - [% ISSUE.title | html %] + [% 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 %] - [% ISSUE.title | html %] + [% 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 %] [% END %] - [% IF ( newissues.match(ISSUE.barcode)) %] - NEW + [% IF ISSUE.auto_renew %] +
This item is scheduled for automatic renewal [% 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' %] -
+
+ +
+
+ [% INCLUDE 'csrf-token.inc' %] +
Issue renews - - [% IF ISSUE.can_be_renewed %] - - - [% UNLESS ( ISSUE.renew ) %] - - [% ELSE %] - - [% END %] - [% 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. - [% ELSE %] - No renewals allowed - [% END %] - [% END %] - [% IF ISSUE.auto_renew %] -
This item is scheduled for automatic renewal - [% END %] -
-
-
-
- [% INCLUDE 'csrf-token.inc' %] -
- Issue renews - - - - - - -
-
-
[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %]
- [% ELSE %] - Show your checkouts - [% END # / IF ( Koha.preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] - [% ELSE %] -

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' %] + + + + + + + [% 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 %] -

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 %] -
-
-
-

[% LibraryName | html %] Self-checkout system

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

You entered an incorrect username or password. Please try again! But note that passwords are case sensitive. - [% IF Koha.Preference('FailedLoginAttempts') %] - Your account will be locked after a fixed number of failed login attempts. - [% END %] - Please contact a library staff member if you continue to have problems.

-
- [% 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 %] -
- +

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 # / IF validuser %] - [% ELSE # / UNLESS ( hide_main %] + +
+ + [% ELSE # IF validuser %]
@@ -388,6 +307,69 @@ [% PROCESS display_errors %] + [% IF patronid && nouser %] +
+

You entered an incorrect username or password. Please try again! But note that passwords are case sensitive. + [% IF Koha.Preference('FailedLoginAttempts') %] + Your account will be locked after a fixed number of failed login attempts. + [% END %] + Please contact a library staff member if you continue to have problems.

+
+ [% 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 %] @@ -397,334 +379,352 @@
- [% END # / UNLESS ( hide_main %] -
- - - - [% INCLUDE 'opac-bottom.inc' %] - [% BLOCK jsinclude %] - [% INCLUDE 'datatables.inc' %] - + [% Asset.js("js/holds.js") | $raw %] + [% IF ( Koha.Preference('SCOUserJS') ) %] + - [% Asset.js("js/holds.js") | $raw %] - [% 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. - [% END %] - Please see a member of the library staff. -

- - [% IF ( item.returnitem && Koha.Preference('SCOAllowCheckin') ) %] -
- [% INCLUDE 'csrf-token.inc' %] - Return - - - - - - -
+

+ [% 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 %] - -

- Error - + Please see a member of the library staff. +

+ + [% IF ( item.returnitem && Koha.Preference('SCOAllowCheckin') ) %] + + [% INCLUDE 'csrf-token.inc' %] + Return + - +
-
- - [% 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 %] + [% END %] - [% IF ( c.renew && Koha.Preference('SCOAllowCheckin') ) %] -
- [% INCLUDE 'csrf-token.inc' %] - Return - - - - - - - -
- [% 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 %] - [% UNLESS ( c.renew ) %] -
- [% INCLUDE 'csrf-token.inc' %] - Renew - - - - - - - -
- [% ELSE %] -
- [% INCLUDE 'csrf-token.inc' %] - Renew - - - - - - - -
- [% END %] + [% IF ( c.renew && Koha.Preference('SCOAllowCheckin') ) %] +
+ [% INCLUDE 'csrf-token.inc' %] + Return + + + + + + + +
+ [% END %] -
- Cancel - + [% UNLESS ( c.renew ) %] + + [% INCLUDE 'csrf-token.inc' %] + Renew + + + - +
-
- [% END # / FOREACH confirm %] - - [% IF ( nopermission ) %] - -
- -

Access denied

-

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

-
- [% END %] + [% ELSE %] +
+ [% INCLUDE 'csrf-token.inc' %] + Renew + + + + + + + +
+ [% END %] - [% IF ( different_ip ) %] - -
- -

Session lost

-

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

-
- [% 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 %] - [% IF ( invalid_username_or_password ) %] - -
- -

Record not found

-

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

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

Session lost

+

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

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

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

-
- [% END %] - [% ELSE %] + [% 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(',') %]
-

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

+

Item checked out ([% 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 ) %] - + [% ELSE %] +
-

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

+

Item checked out ([% newissues.split(',').last | 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