[open-ils-commits] r17260 - in trunk/Open-ILS: web/opac/locale/en-US xul/staff_client/chrome/content/main (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Aug 19 09:57:09 EDT 2010


Author: dbs
Date: 2010-08-19 09:57:07 -0400 (Thu, 19 Aug 2010)
New Revision: 17260

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
   trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
Log:
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.


Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2010-08-19 04:47:53 UTC (rev 17259)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2010-08-19 13:57:07 UTC (rev 17260)
@@ -789,6 +789,8 @@
 <!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">

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2010-08-19 04:47:53 UTC (rev 17259)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2010-08-19 13:57:07 UTC (rev 17260)
@@ -355,6 +355,7 @@
     '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',

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2010-08-19 04:47:53 UTC (rev 17259)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2010-08-19 13:57:07 UTC (rev 17260)
@@ -1012,6 +1012,14 @@
                 }
             ],
 
+            'cmd_authority_manage' : [
+                ['oncommand'],
+                function() {
+                    obj.data.stash_retrieve();
+                    obj.set_tab(obj.url_prefix(urls.AUTHORITY_MANAGE),{},{});
+                }
+            ],
+
             /* Admin menu */
             'cmd_change_session' : [
                 ['oncommand'],

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul	2010-08-19 04:47:53 UTC (rev 17259)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul	2010-08-19 13:57:07 UTC (rev 17260)
@@ -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" />
@@ -272,6 +273,8 @@
         <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>
 



More information about the open-ils-commits mailing list