Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #4918

Category None
Changed by Bill Erickson <berickxxohnoyoudont@gmail.com>
Changed at Fri 20 Oct 2017 10:55:29
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision 0d050c0d1c3070453ebe6e6f4879c91c76273491

Comments

LP#1656036 Webstaff dynamic page titles
Support page/tab titles applied by page controllers.  Each title is
composed of 2 optional components, a dynamic component and a context
component.

The dynamic component may be interpolated with real-time data (e.g. a
patron's name) and the context is generally a page or tab-level value
(e.g. Checkout).

For example:  "Smith, Jane - Checkout"

Apply a title within a controller like so:

egCore.strings.setPageTitle(
    egCore.strings.MY_DYNAMIC_TEMPLATE,
    egCore.strings.MY_CONTEXT_STRING,
    {foo : 'foo', bar : 'bar'}
);

If no values are set, the default template-level title is applied.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>

Conflicts:
	Open-ILS/src/templates/staff/base_js.tt2
	Open-ILS/web/js/ui/default/staff/circ/patron/app.js

Changed files