note.title( fancy_prompt_data.title );
if (fancy_prompt_data.initials) {
fancy_prompt_data.note = fancy_prompt_data.note
- + $("commonStrings").getFormattedString('staff.initials.format',[fancy_prompt_data.initials,util.date.formatted_date(new Date(),'%F')]);
+ + $("commonStrings").getFormattedString('staff.initials.format',[fancy_prompt_data.initials,util.date.formatted_date(new Date(),'%F'), ses('ws_ou_shortname')]);
}
note.value( fancy_prompt_data.note );
note.pub( get_bool( fancy_prompt_data.pub ) ? get_db_true() : get_db_false() );
openils.global_util.content_window.error=Error with get_contentWindow(%1$s): %2$s
openils.global_util.font_size.error=Error adjusting the font size: %1$s
# Appended to notes with certain settings enabled. First position is staff initials, and second position is a date for when the initials were added.
-staff.initials.format= [ %1$s %2$s ]
+staff.initials.format= [ %1$s %2$s @ %3$s ]
staff.acp_label_barcode=Barcode
staff.acp_label_call_number=Call Number
staff.acp_label_circ_as_type=Circulate As Type
initials_tb.focus(); return;
} else {
JSAN.use('util.date');
- note = note + commonStrings.getFormattedString('staff.initials.format',[initials_tb.value,util.date.formatted_date(new Date(),'%F')]);
+ note = note + commonStrings.getFormattedString('staff.initials.format',[initials_tb.value,util.date.formatted_date(new Date(),'%F'), ses('ws_ou_shortname')]);
}
}
update_modal_xulG(
note.title( fancy_prompt_data.title );
if (fancy_prompt_data.initials) {
fancy_prompt_data.note = fancy_prompt_data.note
- + $("commonStrings").getFormattedString('staff.initials.format',[fancy_prompt_data.initials,util.date.formatted_date(new Date(),'%F')]);
+ + $("commonStrings").getFormattedString('staff.initials.format',[fancy_prompt_data.initials,util.date.formatted_date(new Date(),'%F'), ses('ws_ou_shortname')]);
}
note.value( fancy_prompt_data.note );
note.pub( get_bool( fancy_prompt_data.pub ) ? get_db_true() : get_db_false() );
initials_tb.focus(); return;
} else {
JSAN.use('util.date');
- note = note + commonStrings.getFormattedString('staff.initials.format',[initials_tb.value,util.date.formatted_date(new Date(),'%F')]);
+ note = note + commonStrings.getFormattedString('staff.initials.format',[initials_tb.value,util.date.formatted_date(new Date(),'%F'), ses('ws_ou_shortname')]);
}
}
update_modal_xulG(