From 2acce19116d8b0950be04fadad053a9041e6dbcf Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 29 Aug 2007 15:02:06 +0000 Subject: [PATCH] Since we intend to push out a 1.2 staff client, I want to stub out Volume and User buckets in the chrome so we can add them later with a server-side xul upgrade, in case those get added in a 1.2.x release git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7735 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../staff_client/chrome/content/main/constants.js | 2 + .../xul/staff_client/chrome/content/main/menu.js | 15 ++++++ .../chrome/content/main/menu_frame_menus.xul | 7 ++- .../xul/staff_client/server/cat/volume_buckets.xul | 59 ++++++++++++++++++++++ .../staff_client/server/patron/user_buckets.xul | 59 ++++++++++++++++++++++ 5 files changed, 140 insertions(+), 2 deletions(-) create mode 100755 Open-ILS/xul/staff_client/server/cat/volume_buckets.xul create mode 100755 Open-ILS/xul/staff_client/server/patron/user_buckets.xul 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 e5bbd79575..98168fb9cf 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -268,6 +268,8 @@ const urls = { 'XUL_STANDALONE' : 'chrome://open_ils_staff_client/content/circ/offline.xul', 'XUL_STAT_CAT_EDIT' : '/xul/server/admin/stat_cat_editor.xhtml', 'XUL_SURVEY_WIZARD' : 'chrome://open_ils_staff_client/content/admin/survey_wizard.xul', + 'XUL_USER_BUCKETS' : '/xul/server/patron/user_buckets.xul', + 'XUL_VOLUME_BUCKETS' : '/xul/server/cat/volume_buckets.xul', 'XUL_VOLUME_COPY_CREATOR' : '/xul/server/cat/volume_copy_creator.xul', 'XUL_VOLUME_EDITOR' : '/xul/server/cat/volume_editor.xul', 'XUL_Z3950_IMPORT' : '/xul/server/cat/z3950.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 cf51827271..49644b1a5a 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -71,6 +71,13 @@ main.menu.prototype = { obj.set_tab(obj.url_prefix(urls.XUL_COPY_BUCKETS),{'tab_name':'Copy Buckets'},{}); } ], + 'cmd_edit_volume_buckets' : [ + ['oncommand'], + function() { + obj.data.stash_retrieve(); + obj.set_tab(obj.url_prefix(urls.XUL_VOLUME_BUCKETS),{'tab_name':'Volume Buckets'},{}); + } + ], 'cmd_edit_record_buckets' : [ ['oncommand'], function() { @@ -78,6 +85,14 @@ main.menu.prototype = { obj.set_tab(obj.url_prefix(urls.XUL_RECORD_BUCKETS),{'tab_name':'Record Buckets'},{}); } ], + 'cmd_edit_user_buckets' : [ + ['oncommand'], + function() { + obj.data.stash_retrieve(); + obj.set_tab(obj.url_prefix(urls.XUL_USER_BUCKETS),{'tab_name':'User Buckets'},{}); + } + ], + 'cmd_replace_barcode' : [ ['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 a37fb61095..5ab575679a 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 @@ -16,7 +16,9 @@ + + @@ -108,8 +110,9 @@ - + + @@ -149,7 +152,7 @@ --> - + diff --git a/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul b/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul new file mode 100755 index 0000000000..ced2ec68fa --- /dev/null +++ b/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul @@ -0,0 +1,59 @@ + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/Open-ILS/xul/staff_client/server/patron/user_buckets.xul b/Open-ILS/xul/staff_client/server/patron/user_buckets.xul new file mode 100755 index 0000000000..835da92aed --- /dev/null +++ b/Open-ILS/xul/staff_client/server/patron/user_buckets.xul @@ -0,0 +1,59 @@ + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + -- 2.11.0