Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIS-158: Move copied Button group from bottom of checkoutlist to top #2214

Merged
10 changes: 10 additions & 0 deletions code/web/interface/themes/responsive/MyAccount/checkoutsList.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
</div>
{/if}

{if $renewableCheckouts >= 5}
<div class="btn-group">
{if $source=='all' || $source=='ils'}
<a href="#" onclick="AspenDiscovery.Account.renewSelectedTitles()" class="btn btn-sm btn-default">{translate text="Renew Selected Items" isPublicFacing=true}</a>
<a href="#" onclick="AspenDiscovery.Account.renewAll()" class="btn btn-sm btn-default">{translate text="Renew All" isPublicFacing=true}</a>
{/if}
<a class="btn btn-sm btn-default" id="exportToExcel" onclick="return AspenDiscovery.Account.exportCheckouts('{$source}', $('#accountSort_{$source} option:selected').val());">{translate text="Export to CSV" isPublicFacing=true}</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lathomas64 can you update to not move the Export To CSV button per the Jira issue? That isn't needed both at the top and bottom.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed the export button from the upper level of buttons

</div>
{/if}

<div class="striped">
{foreach from=$transList item=checkedOutTitle name=checkedOutTitleLoop key=checkedOutKey}
{if $checkedOutTitle->type == 'ils'}
Expand Down
1 change: 1 addition & 0 deletions code/web/release_notes/25.02.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@

//imani
### Other Updates
- 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*)
Expand Down