LP#1346421 TPAC copy view / edit links
authorBill Erickson <berick@esilibrary.com>
Mon, 21 Jul 2014 18:44:34 +0000 (14:44 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 22 Jul 2014 16:42:37 +0000 (12:42 -0400)
commit18acde612adbd007e49c7e7c565815ca62820c25
tree835a0739f241f13d7a6807c21119f3bbbd36b80d
parentf97edb4ff8991109b31e4c1b467d37d48ec6b261
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>
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