[open-ils-commits] r13164 - 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
Thu May 14 13:02:55 EDT 2009
Author: erickson
Date: 2009-05-14 13:02:52 -0400 (Thu, 14 May 2009)
New Revision: 13164
Modified:
trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
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:
acq menu entries. fixed generic browser loader to get back/forward working
Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd 2009-05-14 16:07:07 UTC (rev 13163)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd 2009-05-14 17:02:52 UTC (rev 13164)
@@ -710,9 +710,18 @@
<!ENTITY staff.main.menu.acq.label "Acquisitions">
<!ENTITY staff.main.menu.acq.picklist.label "Selection Lists">
+<!ENTITY staff.main.menu.acq.bib_search.label "Title Search">
+<!ENTITY staff.main.menu.acq.brief_record.label "New Brief Record">
<!ENTITY staff.main.menu.acq.upload.label "Load Order Record">
<!ENTITY staff.main.menu.acq.po.label "Purchase Orders">
+<!ENTITY staff.main.menu.acq.fund.label "Funds">
+<!ENTITY staff.main.menu.acq.funding_source.label "Funding Sources">
+<!ENTITY staff.main.menu.acq.provider.label "Providers">
+<!ENTITY staff.main.menu.acq.distrib_formula.label "Distribution Formulas">
+<!ENTITY staff.main.menu.acq.currency_type.label "Currency Types">
+<!ENTITY staff.main.menu.acq.exchange_rate.label "Exchange Rates">
+
<!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/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2009-05-14 16:07:07 UTC (rev 13163)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2009-05-14 17:02:52 UTC (rev 13164)
@@ -98,11 +98,10 @@
// tab label
labelKey = labelKey || 'menu.cmd_open_conify.tab';
- label = offlineStrings.getString(labelKey);
+ var label = offlineStrings.getString(labelKey);
// URL
- var loc = urls.XUL_REMOTE_BROWSER + '?url=' +
- window.escape(urls.EG_WEB_BASE + '/' + path);
+ var loc = urls.XUL_BROWSER + '?url=' + window.escape(obj.url_prefix(urls.EG_WEB_BASE) + '/' + path);
obj.set_tab(
loc,
@@ -586,6 +585,38 @@
['oncommand'],
function() { open_eg_web_page('acq/picklist/upload'); }
],
+ 'cmd_acq_bib_search' : [
+ ['oncommand'],
+ function() { open_eg_web_page('acq/picklist/bib_search'); }
+ ],
+ 'cmd_acq_new_brief_record' : [
+ ['oncommand'],
+ function() { open_eg_web_page('acq/picklist/brief_record'); }
+ ],
+ 'cmd_acq_view_fund' : [
+ ['oncommand'],
+ function() { open_eg_web_page('acq/fund/list'); }
+ ],
+ 'cmd_acq_view_funding_source' : [
+ ['oncommand'],
+ function() { open_eg_web_page('acq/funding_source/list'); }
+ ],
+ 'cmd_acq_view_provider' : [
+ ['oncommand'],
+ function() { open_eg_web_page('conify/global/acq/provider'); }
+ ],
+ 'cmd_acq_view_currency_type' : [
+ ['oncommand'],
+ function() { open_eg_web_page('acq/currency_type/list'); }
+ ],
+ 'cmd_acq_view_exchange_rate' : [
+ ['oncommand'],
+ function() { open_eg_web_page('conify/global/acq/exchange_rate'); }
+ ],
+ 'cmd_acq_view_distrib_formula' : [
+ ['oncommand'],
+ function() { open_eg_web_page('conify/global/acq/distribution_formula'); }
+ ],
'cmd_reprint' : [
['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 2009-05-14 16:07:07 UTC (rev 13163)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul 2009-05-14 17:02:52 UTC (rev 13164)
@@ -77,7 +77,16 @@
<command id="cmd_acq_view_picklist" />
<command id="cmd_acq_upload" />
<command id="cmd_acq_view_po" />
+ <command id="cmd_acq_bib_search" />
+ <command id="cmd_acq_new_brief_record" />
+ <command id="cmd_acq_view_fund" />
+ <command id="cmd_acq_view_funding_source" />
+ <command id="cmd_acq_view_provider" />
+ <command id="cmd_acq_view_currency_type" />
+ <command id="cmd_acq_view_exchange_rate" />
+ <command id="cmd_acq_view_distrib_formula" />
+
<!-- local admin menu commands -->
<command id="cmd_local_admin_fonts_and_sounds"/>
<command id="cmd_local_admin_printer"/>
@@ -217,8 +226,18 @@
<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.bib_search.label;" command="cmd_acq_bib_search"/>
<menuitem label="&staff.main.menu.acq.upload.label;" command="cmd_acq_upload"/>
+ <menuitem label="&staff.main.menu.acq.brief_record.label;" command="cmd_acq_new_brief_record"/>
+ <menuseparator />
<menuitem label="&staff.main.menu.acq.po.label;" command="cmd_acq_view_po" />
+ <menuseparator />
+ <menuitem label="&staff.main.menu.acq.fund.label;" command="cmd_acq_view_fund" />
+ <menuitem label="&staff.main.menu.acq.funding_source.label;" command="cmd_acq_view_funding_source" />
+ <menuitem label="&staff.main.menu.acq.provider.label;" command="cmd_acq_view_provider" />
+ <menuitem label="&staff.main.menu.acq.currency_type.label;" command="cmd_acq_view_currency_type" />
+ <menuitem label="&staff.main.menu.acq.exchange_rate.label;" command="cmd_acq_view_exchange_rate" />
+ <menuitem label="&staff.main.menu.acq.distrib_formula.label;" command="cmd_acq_view_distrib_formula" />
</menupopup>
</menu>
More information about the open-ils-commits
mailing list