Updated code pushed:
http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1656036-webstaff-tab-titles
Supports the dynamic and static components. Dynamic components are interpolate'able and will truncate when paired with a static component and exceed a configurable length (currently 12).
For example:
egCore.strings.setPageTitle( egCore.strings.PAGE_TITLE_PATRON_NAME, egCore.strings['PAGE_TITLE_PATRON_' + tab.toUpperCase()], { lname : patronSvc.current.family_name(), fname : patronSvc.current.first_given_name(), mname : patronSvc.current.second_given_name() } );
Updated code pushed:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1656036- webstaff- tab-titles
Supports the dynamic and static components. Dynamic components are interpolate'able and will truncate when paired with a static component and exceed a configurable length (currently 12).
For example:
egCore. strings. setPageTitle( strings. PAGE_TITLE_ PATRON_ NAME, strings[ 'PAGE_TITLE_ PATRON_ ' + tab.toUpperCase()], current. family_ name(), current. first_given_ name(), current. second_ given_name( )
egCore.
egCore.
{ lname : patronSvc.
fname : patronSvc.
mname : patronSvc.
}
);