From 18bcd944bfd663d5326f0e102530ebdbeb1c2a2f Mon Sep 17 00:00:00 2001 From: Imani Thomas Date: Thu, 23 Jan 2025 09:07:07 -0500 Subject: [PATCH 1/4] DIS-158: Move copied Button group from bottom of checkoutlist to the top. --- .../themes/responsive/MyAccount/checkoutsList.tpl | 10 ++++++++++ code/web/release_notes/25.02.00.MD | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl b/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl index 613771a9de..3d6b296046 100644 --- a/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl +++ b/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl @@ -23,6 +23,16 @@ {/if} +
+ {if $renewableCheckouts >= 1} + {if $source=='all' || $source=='ils'} + {translate text="Renew Selected Items" isPublicFacing=true} + {translate text="Renew All" isPublicFacing=true} + {/if} + {/if} + {translate text="Export to CSV" isPublicFacing=true} +
+
{foreach from=$transList item=checkedOutTitle name=checkedOutTitleLoop key=checkedOutKey} {if $checkedOutTitle->type == 'ils'} diff --git a/code/web/release_notes/25.02.00.MD b/code/web/release_notes/25.02.00.MD index 6c4e7bb7c8..d0be43efd1 100644 --- a/code/web/release_notes/25.02.00.MD +++ b/code/web/release_notes/25.02.00.MD @@ -70,6 +70,10 @@ //alexander +//imani +### Other Updates +- Added renew all, renew checked, and export to csv buttons to the top of the checkout list. (*IT*) + //chloe ### WebBuilder Updates - Fixed an issue preventing administrators from saving a 'URL to link image to' from the 'WebBuilder Portal Cells' page. (*CZ*) @@ -98,6 +102,7 @@ Use mb_substr to presrve diacritics in lists (DIS-178) (*WNC*) - Nick Clemens (WNC) - Yanjun Li (YL) - Leo Stoyanov (LS) + - Imani Thomas (IT) ### Grove For Libraries - Mark Noble (MDN) From 4e6d296e66d8cc0741faad3ff69c012c8d16de51 Mon Sep 17 00:00:00 2001 From: Imani Thomas Date: Mon, 27 Jan 2025 07:37:06 -0500 Subject: [PATCH 2/4] DIS-158: Added jira issue to release notes --- code/web/release_notes/25.02.00.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/web/release_notes/25.02.00.MD b/code/web/release_notes/25.02.00.MD index d0be43efd1..7bbba29576 100644 --- a/code/web/release_notes/25.02.00.MD +++ b/code/web/release_notes/25.02.00.MD @@ -72,7 +72,7 @@ //imani ### Other Updates -- Added renew all, renew checked, and export to csv buttons to the top of the checkout list. (*IT*) +- Added renew all, renew checked, and export to csv buttons to the top of the checkout list. (DIS-158) (*IT*) //chloe ### WebBuilder Updates From 06ef8240eae9185685cffe6677b2ab05c15d2785 Mon Sep 17 00:00:00 2001 From: Imani Thomas Date: Tue, 28 Jan 2025 17:46:43 -0500 Subject: [PATCH 3/4] DIS-158: update to only add top buttons if there are 5 or more checkout items --- .../themes/responsive/MyAccount/checkoutsList.tpl | 10 +++++----- code/web/release_notes/25.02.00.MD | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl b/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl index 3d6b296046..6c7f7a231e 100644 --- a/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl +++ b/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl @@ -23,15 +23,15 @@
{/if} -
- {if $renewableCheckouts >= 1} + {if $renewableCheckouts >= 5} + + {translate text="Export to CSV" isPublicFacing=true} +
+ {/if}
{foreach from=$transList item=checkedOutTitle name=checkedOutTitleLoop key=checkedOutKey} diff --git a/code/web/release_notes/25.02.00.MD b/code/web/release_notes/25.02.00.MD index ed838c163c..4263bec48b 100644 --- a/code/web/release_notes/25.02.00.MD +++ b/code/web/release_notes/25.02.00.MD @@ -143,7 +143,7 @@ //imani ### Other Updates -- Added renew all, renew checked, and export to csv buttons to the top of the checkout list. (DIS-158) (*IT*) +- Added renew all, renew checked, and export to csv buttons to the top of the checkout list if 5 or more checkout items. (DIS-158) (*IT*) - Update Koha importListFromILS to include the title on the created user_list_entry record. (DIS-225) (*IT*) - Update UserListEntry to grab a title from the grouped work associated with its source ID if it is given no title and the groupedwork is available. (DIS-225) (*IT*) - Change substr to mb_substr in MyList.php BulkAddTitles when figuring out the title for the new user list entry (DIS-225) (*IT*) From b8a25eaebda717cf68c800e4b76140831a5b5d57 Mon Sep 17 00:00:00 2001 From: Imani Thomas Date: Wed, 29 Jan 2025 10:47:36 -0500 Subject: [PATCH 4/4] DIS-158: remove export button from renew buttons added to top. --- code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl b/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl index 6c7f7a231e..6267eaaaf4 100644 --- a/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl +++ b/code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl @@ -29,7 +29,6 @@ {translate text="Renew Selected Items" isPublicFacing=true} {translate text="Renew All" isPublicFacing=true} {/if} - {translate text="Export to CSV" isPublicFacing=true}
{/if}