Give the authority list interface a place on the staff client Cataloging menu
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Aug 2010 13:57:07 +0000 (13:57 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Aug 2010 13:57:07 +0000 (13:57 +0000)
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

Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/chrome/content/main/constants.js
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul

index 5bfd267..f61896e 100644 (file)
 <!ENTITY staff.main.menu.cat.add_copy.label "Add Item">
 <!ENTITY staff.main.menu.cat.add_volume.key "V">
 <!ENTITY staff.main.menu.cat.add_volume.label "Add Volume">
+<!ENTITY staff.main.menu.cat.authority_manage.accesskey "t">
+<!ENTITY staff.main.menu.cat.authority_manage.label "Manage Authorities">
 <!ENTITY staff.main.menu.cat.bib_search.accesskey "S">
 <!ENTITY staff.main.menu.cat.bib_search.label "Search the Catalog">
 <!ENTITY staff.main.menu.cat.bib_status.key "B">
index f236154..070cf40 100644 (file)
@@ -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',
index 91d5178..9099a0f 100644 (file)
@@ -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'],
index 5aeed9d..24a6942 100644 (file)
@@ -24,6 +24,7 @@
 
     <command id="cmd_cat_main" key="cat-main-key" />
     <command id="cmd_create_marc" />
+    <command id="cmd_authority_manage" />
     <command id="cmd_circ_checkout" key="circ-checkout-key" />
     <command id="cmd_patron_search" key="patron-search-key" />
     <command id="cmd_circ_checkin" key="circ-checkin-key" />
         <menuseparator />
         <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
         <menuitem label="&staff.main.menu.cat.retrieve_last_record.label;" accesskey="&staff.main.menu.cat.retrieve_last_record.accesskey;" command="cmd_retrieve_last_record" key="retrieve_last_record_key"/>
+        <menuseparator />
+        <menuitem label="&staff.main.menu.cat.authority_manage.label;" accesskey="&staff.main.menu.cat.authority_manage.accesskey;" command="cmd_authority_manage"/>
     </menupopup>
 </menu>