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

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Apr 27 15:48:43 EDT 2009


Author: erickson
Date: 2009-04-27 15:48:39 -0400 (Mon, 27 Apr 2009)
New Revision: 12999

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
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul
Log:
created an Acqusitions menu with a couple of menu entries.  experimental, probably will be hidden for 1.6 release

Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2009-04-27 18:21:18 UTC (rev 12998)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2009-04-27 19:48:39 UTC (rev 12999)
@@ -687,6 +687,12 @@
 <!ENTITY staff.main.menu.cat.vandelay.label "MARC Batch Import/Export">
 <!ENTITY staff.main.menu.cat.z39_50_import.accesskey "Z">
 <!ENTITY staff.main.menu.cat.z39_50_import.label "Import Record from Z39.50">
+
+<!ENTITY staff.main.menu.acq.label "Acquisitions">
+<!ENTITY staff.main.menu.acq.picklist.label "Selection Lists">
+<!ENTITY staff.main.menu.acq.upload.label "Load Order Record">
+<!ENTITY staff.main.menu.acq.po.label "Purchase Orders">
+
 <!ENTITY staff.main.menu.circ.barcode.retrieve_patron "Retrieve Patron by Barcode">
 <!ENTITY staff.main.menu.circ.barcode.retrieve_patron.accesskey "P">
 <!ENTITY staff.main.menu.circ.barcode.show_item "Show Item Status by Barcode">

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2009-04-27 18:21:18 UTC (rev 12998)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2009-04-27 19:48:39 UTC (rev 12999)
@@ -311,7 +311,8 @@
 	'XUL_PATRON_BILL_WIZARD' : '/xul/server/patron/bill_wizard.xul',
 	'XUL_PATRON_DISPLAY' : '/xul/server/patron/display.xul',
 	'XUL_PATRON_HORIZ_DISPLAY' : '/xul/server/patron/display_horiz.xul',
-	'XUL_PATRON_EDIT' : '/xul/server/patron/ue.xhtml',
+	//'XUL_PATRON_EDIT' : '/xul/server/patron/ue.xhtml',
+	'XUL_PATRON_EDIT' : '/eg/actor/user/register',
 	'XUL_USER_PERM_EDITOR' : '/xul/server/patron/user_edit.xhtml',
 	'XUL_PATRON_HOLDS' : '/xul/server/patron/holds.xul',
 	'XUL_PATRON_INFO_NOTES' : '/xul/server/patron/info_notes.xul',
@@ -342,5 +343,8 @@
 	'TEST_HTML' : '/xul/server/main/test.html',
 	'TEST_XUL' : '/xul/server/main/test.xul',
     'VANDELAY' : '/vandelay/vandelay.xml', /* XXX how can we get the locale? */
-    'CONIFY' : '/conify/' + LOCALE + '/global/admin.html'
+    'CONIFY' : '/conify/' + LOCALE + '/global/admin.html',
+    'XUL_ACQ_PICKLIST' : '/eg/acq/picklist/list',
+    'XUL_ACQ_UPLOAD' : '/eg/acq/picklist/upload',
+    'XUL_ACQ_PO' : '/eg/acq/po/search',
 }

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2009-04-27 18:21:18 UTC (rev 12998)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2009-04-27 19:48:39 UTC (rev 12999)
@@ -756,6 +756,41 @@
 					}
 				}
 			],
+
+			'cmd_acq_view_picklist' : [
+				['oncommand'],
+				function() {
+					obj.set_tab( 
+						obj.url_prefix(urls.XUL_ACQ_PICKLIST),
+						//{'tab_name' : offlineStrings.getString('menu.cmd_public_opac.tab'), 'browser' : false}, 
+						{'tab_name' : 'Selection Lists', 'browser' : false}, 
+						{'show_nav_buttons' : true, 'show_print_button' : true} 
+					);
+				}
+			],
+			'cmd_acq_view_po' : [
+				['oncommand'],
+				function() {
+					obj.set_tab( 
+						obj.url_prefix(urls.XUL_ACQ_PO),
+						//{'tab_name' : offlineStrings.getString('menu.cmd_public_opac.tab'), 'browser' : false}, 
+						{'tab_name' : 'Purchase Orders', 'browser' : false}, 
+						{'show_nav_buttons' : true, 'show_print_button' : true} 
+					);
+				}
+			],
+			'cmd_acq_upload' : [
+				['oncommand'],
+				function() {
+					obj.set_tab( 
+						obj.url_prefix(urls.XUL_ACQ_UPLOAD),
+						//{'tab_name' : offlineStrings.getString('menu.cmd_public_opac.tab'), 'browser' : false}, 
+						{'tab_name' : 'Load Order Record', 'browser' : false}, 
+						{'show_nav_buttons' : true, 'show_print_button' : true} 
+					);
+				}
+			],
+
 		};
 
 		JSAN.use('util.controller');

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	2009-04-27 18:21:18 UTC (rev 12998)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul	2009-04-27 19:48:39 UTC (rev 12999)
@@ -74,6 +74,10 @@
 	<command id="cmd_broken" disabled="true" />
 	<command id="cmd_open_vandelay" />
 	<command id="cmd_open_conify" />
+    
+	<command id="cmd_acq_view_picklist" />
+	<command id="cmd_acq_upload" />
+	<command id="cmd_acq_view_po" />
 </commandset>
 
 
@@ -180,6 +184,17 @@
 	</menupopup>
 </menu>
 
+
+<!-- The Acquisitions menu on the main menu -->
+<menu id="main.menu.acq" label="&staff.main.menu.acq.label;">
+	<menupopup id="main.menu.acq.popup">
+		<menuitem label="&staff.main.menu.acq.picklist.label;" command="cmd_acq_view_picklist"/>
+		<menuitem label="&staff.main.menu.acq.upload.label;" command="cmd_acq_upload"/>
+		<menuitem label="&staff.main.menu.acq.po.label;" command="cmd_acq_view_po" />
+    </menupopup>
+</menu>
+
+
 <!-- The Search menu on the main menu -->
 <menu id="main.menu.search" label="&staff.main.menu.search.label;" accesskey="&staff.main.menu.search.accesskey;">
 	<menupopup id="main.menu.search.popup">

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul	2009-04-27 18:21:18 UTC (rev 12998)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul	2009-04-27 19:48:39 UTC (rev 12999)
@@ -71,6 +71,7 @@
 		<menu id="main.menu.search" />
 		<menu id="main.menu.circ" />
 		<menu id="main.menu.cat" />
+		<menu id="main.menu.acq" />
 		<spacer flex="1" />
 		<menu id="main.menu.admin" />
         <!--



More information about the open-ils-commits mailing list