From 35eefd83495d8df5ea8cc30128c4509522899e4b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 21 Mar 2025 15:11:57 +0000 Subject: [PATCH] Bug 39404: Update Cart control to say "Add to list" for consistency This patch update the template for the cart in both the staff interface and OPAC so that the control for adding an item in the cart to a list. To test, apply the patch and log in to the OPAC. - Perform a catalog search in the OPAC which will return multiple results. - From the search results page, check checkboxes next to multiple results and click "Add to cart." - Open the cart by clicking the "Cart" link at the top of the page. - In the cart popup, you should see "Select titles to:" You should see a button labeled "Add to list." - Perform the same test in the staff interface. Signed-off-by: David Cook --- koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt index 8e45efd9b4..ab93b645ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -10,7 +10,7 @@ Remove [% IF ( loggedinusername ) %] - | Add to a list + | Add to list [% END %] [% IF ( CAN_user_reserveforothers ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt index 2e7e1daad1..0576f0a61c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt @@ -81,7 +81,7 @@ Remove [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %] - Add to a list + Add to list [% END %] [% IF ( Koha.Preference( 'OPACHoldRequests' ) == 1 ) %] Place hold -- 2.39.5