staff.serial.manage_items.set_claimed_success=Successfully claimed %1$s item(s)
staff.serial.manage_items.set_not_held_success=Successfully set %1$s item(s) to 'Not Held'
staff.serial.manage_items.set_not_published_success=Successfully set %1$s item(s) to 'Not Published'
+staff.serial.manage_items.alert_notes.title=Serial Alerts
staff.serial.manage_items.alert_button.label=1 Alert
staff.serial.manage_items.alert_button.plural.label=%1s Alerts
staff.serial.manage_subs.add.error=error adding object in manage_subs.js:
var notes_window = win.open(
urls.XUL_SERIAL_NOTES,
'','chrome,resizable,modal',
- { 'notes' : notes, 'section_titles' : section_titles, 'title' : "Serial Alerts", 'disable_create' : true, 'section_id_names' : { 'ssubn' : 'subscription', 'sdistn' : 'distribution', 'sin' : 'item'} }
+ { 'notes' : notes, 'section_titles' : section_titles, 'title' : $('serialStrings').getString('staff.serial.manage_items.alert_notes.title'), 'disable_create' : true, 'section_id_names' : { 'ssubn' : 'subscription', 'sdistn' : 'distribution', 'sin' : 'item'} }
);
if (notes_window.notes_updated) { // we changed some notes
if (notes_window.notes_updated.sdistn || notes_window.notes_updated.ssubn) {
var edit_mode; // for clarity
var label_text;
var button_accesskey;
+ var note_fm_type;
if (typeof index != 'undefined') {
edit_mode = true;
alert = get_bool(g.notes[index].alert());
title = xml_encode(g.notes[index].title());
value = xml_encode(g.notes[index].value());
+ note_fm_type = g.notes[index].classname;
label_text = $('serialStrings').getString('staff.serial.notes.edit_note.label');
button_accesskey = $('serialStrings').getString('staff.serial.notes.edit_note.accesskey');
} else {
+ note_fm_type = g.fm_type;
label_text = $('catStrings').getString('staff.cat.copy_notes.new_note.add_note.label');
button_accesskey = $('catStrings').getString('staff.cat.copy_notes.new_note.add_note.accesskey');
}
<grid flex="1"><columns><column/><column flex="1"/></columns> \
<rows> \
<row><label value="' + $('catStrings').getString('staff.cat.copy_notes.new_note.public') + '"/><checkbox id="pub" name="fancy_data" checked="' + public + '"/></row> \
- <row><label value="' + fieldmapper.IDL.fmclasses[g.notes[index].classname].field_map.alert.label + '"/><checkbox id="alert" name="fancy_data" checked="' + alert + '"/></row> \
+ <row><label value="' + fieldmapper.IDL.fmclasses[note_fm_type].field_map.alert.label + '"/><checkbox id="alert" name="fancy_data" checked="' + alert + '"/></row> \
<row><label value="' + $('catStrings').getString('staff.cat.copy_notes.new_note.title') + '"/><textbox id="title" name="fancy_data" context="clipboard" value="' + title + '"/></row> \
<row><label value="' + $('catStrings').getString('staff.cat.copy_notes.new_note.note') + '"/><textbox multiline="true" id="note" name="fancy_data" context="clipboard" value="' + value + '"/></row> \
<row><spacer/><hbox> \