]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1346421 TPAC copy view / edit links
authorBill Erickson <berick@esilibrary.com>
Mon, 21 Jul 2014 18:44:34 +0000 (14:44 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 8 Aug 2014 00:12:57 +0000 (20:12 -0400)
commita6f55eb502a7a1fb358fe6f5e95872ab36b5a6c7
tree3fecd7a44a83362305d26045c2ed3bf13c23fa65
parent414e2457c2fd2623eb00d768de58ba72b1474025
LP#1346421 TPAC copy view / edit links

Adds "view" and "edit" links next to each copy in the TPAC copy grid
when in embedded mode.  The "edit" link only appears when the user has
permission to edit the specified copy.

Via the XUL volume_item_creator, the ui.unified_volume_copy_editor org
unit setting is inspected to determine which UI to load.  Also, the data
needed to load the subsequent UI is fetched within the
volume_item_creator, so the catalog doesn't have to.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
Open-ILS/src/templates/opac/parts/record/copy_table.tt2
Open-ILS/xul/staff_client/chrome/content/main/menu.js