From: dbs Date: Thu, 19 Aug 2010 13:57:07 +0000 (+0000) Subject: Give the authority list interface a place on the staff client Cataloging menu X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=06f15b3992d34304611a93148a9ed8824289794d;p=evergreen%2Fbjwebb.git Give the authority list interface a place on the staff client Cataloging menu The interface itself still needs usability love, but exposing basic edit/delete functionality for authority records should give authoritarians some level of happiness. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17260 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 5bfd267d5..f61896e12 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -789,6 +789,8 @@ + + diff --git a/Open-ILS/xul/staff_client/chrome/content/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/main/constants.js index f236154b4..070cf40b8 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -355,6 +355,7 @@ var urls = { 'AUDIO_circ_bad' : '/xul/server/skin/media/audio/question.wav', 'AUDIO_event_ASSET_COPY_NOT_FOUND' : '/xul/server/skin/media/audio/redalert.wav', + 'AUTHORITY_MANAGE' : '/eg/cat/authority/list', 'XUL_AUTH_SIMPLE' : '/xul/server/main/simple_auth.xul', 'XUL_BIB_BRIEF' : '/xul/server/cat/bib_brief.xul', 'XUL_BROWSER' : 'chrome://open_ils_staff_client/content/util/browser.xul', diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index 91d5178ff..9099a0f14 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -1012,6 +1012,14 @@ main.menu.prototype = { } ], + 'cmd_authority_manage' : [ + ['oncommand'], + function() { + obj.data.stash_retrieve(); + obj.set_tab(obj.url_prefix(urls.AUTHORITY_MANAGE),{},{}); + } + ], + /* Admin menu */ 'cmd_change_session' : [ ['oncommand'], diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul index 5aeed9df9..24a6942e4 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul @@ -24,6 +24,7 @@ + @@ -272,6 +273,8 @@ + +