Bugzilla – Attachment 179677 Details for
Bug 39404
Inconsistency due to "Add to list" vs "Add to a list"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39404: Update Cart control to say "Add to list" for consistency
Bug-39404-Update-Cart-control-to-say-Add-to-list-f.patch (text/plain), 2.99 KB, created by
David Cook
on 2025-03-25 01:11:08 UTC
(
hide
)
Description:
Bug 39404: Update Cart control to say "Add to list" for consistency
Filename:
MIME Type:
Creator:
David Cook
Created:
2025-03-25 01:11:08 UTC
Size:
2.99 KB
patch
obsolete
>From 35eefd83495d8df5ea8cc30128c4509522899e4b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <dcook@prosentient.com.au> >--- > 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 @@ > <a href="#" id="remove_from_cart">Remove</a> > > [% IF ( loggedinusername ) %] >- | <a href="#" id="add_to_list">Add to a list</a> >+ | <a href="#" id="add_to_list">Add to list</a> > [% 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 @@ > <a href="#" class="btn btn-link btn-sm remove deleteshelf disabled" aria-disabled="true"><i class="fa fa-times" aria-hidden="true"></i> Remove</a> > [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] > [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %] >- <a href="#" class="btn btn-link btn-sm newshelf disabled" aria-disabled="true"><i class="fa fa-fw fa-list" aria-hidden="true"></i> Add to a list</a> >+ <a href="#" class="btn btn-link btn-sm newshelf disabled" aria-disabled="true"><i class="fa fa-fw fa-list" aria-hidden="true"></i> Add to list</a> > [% END %] > [% IF ( Koha.Preference( 'OPACHoldRequests' ) == 1 ) %] > <a href="#" class="btn btn-link btn-sm hold disabled" aria-disabled="true"><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39404
:
179625
|
179677
|
179786