[open-ils-commits] r11026 - in trunk/Open-ILS/xul/staff_client/server: cat locale/en-US
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Nov 2 17:02:13 EST 2008
Author: phasefx
Date: 2008-11-02 17:02:08 -0500 (Sun, 02 Nov 2008)
New Revision: 11026
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
Log:
show the TCN for the record marked for overlay if the local chrome client stashed that data
Modified: trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/z3950.js 2008-11-02 21:58:00 UTC (rev 11025)
+++ trunk/Open-ILS/xul/staff_client/server/cat/z3950.js 2008-11-02 22:02:08 UTC (rev 11026)
@@ -373,7 +373,11 @@
var sel = obj.list.retrieve_selection();
if (sel.length > 0) { obj.controller.view.marc_import_overlay.disabled = false; }
if ($("overlay_tcn_indicator")) {
- $("overlay_tcn_indicator").setAttribute('value',$("catStrings").getFormattedString('staff.cat.z3950.marked_record_for_overlay_indicator.label',[obj.data.marked_record]));
+ if (obj.data.marked_record_mvr) {
+ $("overlay_tcn_indicator").setAttribute('value',$("catStrings").getFormattedString('staff.cat.z3950.marked_record_for_overlay_indicator.tcn.label',[obj.data.marked_record_mvr.tcn()]));
+ } else {
+ $("overlay_tcn_indicator").setAttribute('value',$("catStrings").getFormattedString('staff.cat.z3950.marked_record_for_overlay_indicator.record_id.label',[obj.data.marked_record]));
+ }
}
} else {
obj.controller.view.marc_import_overlay.disabled = true;
Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties 2008-11-02 21:58:00 UTC (rev 11025)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties 2008-11-02 22:02:08 UTC (rev 11026)
@@ -377,7 +377,8 @@
staff.cat.z3950.hide_top_pane.accesskey=T
staff.cat.z3950.unhide_top_pane.label=Show Top Pane
staff.cat.z3950.unhide_top_pane.accesskey=T
-staff.cat.z3950.marked_record_for_overlay_indicator.label=Record %1$s marked for overlay.
+staff.cat.z3950.marked_record_for_overlay_indicator.record_id.label=Record with ID %1$s marked for overlay.
+staff.cat.z3950.marked_record_for_overlay_indicator.tcn.label=Record with TCN %1$s marked for overlay.
staff.cat.z3950.marked_record_for_overlay_indicator.no_record.label=No record marked for overlay.
staff.cat.z3950.obj_controller_init.marc_view_error=Failure during MARC view.
staff.cat.z3950.obj_controller_init.marc_import_error=Failure during MARC import.
More information about the open-ils-commits
mailing list