From da6b1852c24cccade486b2a538e10d0b31cc2754 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 Signed-off-by: Emily Lamancusa --- 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 8e45efd9b44..ab93b645adb 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 2e7e1daad14..0576f0a61cb 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.34.1