[open-ils-commits] r12231 - in branches/staff-client-experiment/Open-ILS: web/opac/locale/en-US xul/staff_client/server/locale/en-US xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 19 01:56:12 EST 2009
Author: phasefx
Date: 2009-02-19 01:56:08 -0500 (Thu, 19 Feb 2009)
New Revision: 12231
Modified:
branches/staff-client-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd
branches/staff-client-experiment/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js
branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.xul
branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
Log:
option to re-display the "stop sign" page
Modified: branches/staff-client-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- branches/staff-client-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd 2009-02-19 06:37:48 UTC (rev 12230)
+++ branches/staff-client-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd 2009-02-19 06:56:08 UTC (rev 12231)
@@ -1186,6 +1186,8 @@
<!ENTITY staff.patron_navbar.holds.accesskey 'H'>
<!ENTITY staff.patron_navbar.info 'Display Info'>
<!ENTITY staff.patron_navbar.info.accesskey 'o'>
+<!ENTITY staff.patron_navbar.alert 'Display Alert and Messages'>
+<!ENTITY staff.patron_navbar.alert.accesskey 'A'>
<!ENTITY staff.patron_navbar.other 'Other'>
<!ENTITY staff.patron_navbar.other.accesskey 'o'>
<!ENTITY staff.patron_navbar.items 'Items Out'>
Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties 2009-02-19 06:37:48 UTC (rev 12230)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties 2009-02-19 06:56:08 UTC (rev 12231)
@@ -70,6 +70,7 @@
staff.patron.display.init.network_request.error_showing_alert=Error showing patron alert and holds availability.
staff.patron.display.render_search_form.patron_search=Patron Search
staff.patron.display.tab_name=Patron:
+staff.patron.display.no_alerts_or_messages=No Alerts, Blocks, or Messages
staff.patron.hold_notices.tooltiptext=ID: %1$s Hold ID: %2$s Notifying Staff ID: %3$s
staff.patron.hold_notices.new_notification_record=New Notification Record
staff.patron.hold_notices.method=Method
Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js 2009-02-19 06:37:48 UTC (rev 12230)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js 2009-02-19 06:56:08 UTC (rev 12231)
@@ -282,6 +282,16 @@
);
}
],
+ 'cmd_patron_alert' : [
+ ['command'],
+ function(ev) {
+ if (obj.msg_url) {
+ obj.right_deck.set_iframe('data:text/html,'+obj.msg_url,{},{});
+ } else {
+ obj.right_deck.set_iframe('data:text/html,<h1>' + $("patronStrings").getString('staff.patron.display.no_alerts_or_messages') + '</h1>',{},{});
+ }
+ }
+ ],
'cmd_patron_exit' : [
['command'],
function(ev) {
@@ -535,6 +545,7 @@
+ $("patronStrings").getString('staff.patron.display.init.network_request.window_message') + '</pre></blockquote>');
obj.right_deck.set_iframe('data:text/html,'+data_url,{},{});
obj.old_msg = msg;
+ obj.msg_url = data_url;
} else {
obj.error.sdump('D_TRACE',$("patronStrings").getFormattedString('staff.patron.display.init.network_request.dump_error_message', [msg]));
}
Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.xul
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.xul 2009-02-19 06:37:48 UTC (rev 12230)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.xul 2009-02-19 06:56:08 UTC (rev 12231)
@@ -96,6 +96,7 @@
<command id="cmd_patron_bills" />
<command id="cmd_patron_edit" />
<command id="cmd_patron_info" />
+ <command id="cmd_patron_alert" />
<command id="cmd_patron_exit" />
<command id="cmd_patron_retrieve" />
<command id="cmd_patron_merge" />
Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display_overlay.xul 2009-02-19 06:37:48 UTC (rev 12230)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display_overlay.xul 2009-02-19 06:56:08 UTC (rev 12231)
@@ -89,6 +89,7 @@
label="&staff.patron_navbar.edit;" accesskey="&staff.patron_navbar.edit.accesskey;"/>
<button id="PatronNavBar_info" class="nav" label="&staff.patron_navbar.other;" accesskey="&staff.patron_navbar.other.accesskey;" type="menu">
<menupopup>
+ <menuitem label="&staff.patron_navbar.alert;" accesskey="&staff.patron_navbar.alert.accesskey;" command="cmd_patron_alert"/>
<menuitem label="&staff.patron_navbar.info;" accesskey="&staff.patron_navbar.info.accesskey;" command="cmd_patron_info"/>
<menuitem label="&staff.patron_display.verify_password.label;" accesskey="&staff.patron_display.verify_password.accesskey;" command="cmd_verify_credentials"/>
<menuitem label="&staff.main.menu.admin.user_edit.label;" accesskey="&staff.main.menu.admin.user_edit.accesskey;" command="cmd_perm_editor"/>
More information about the open-ils-commits
mailing list