Change #6427
Category | None |
Changed by | Jane Sandberg <sandbej | @linnbenton.edu>
Changed at | Mon 05 Aug 2019 10:52:10 |
Repository | git://git.evergreen-ils.org/Evergreen.git |
Project | Evergreen |
Branch | master |
Revision | b2f669fb161ff4bdba9ba2528241312d037503e6 |
Comments
LP1802593: Correct formatting of language code in Angularjs, KPAC EgWeb offers two different formats of the current locale: ctx.locale and ctx.eg_locale. This commit configures the lang attribute in AngularJS staff client, OPAC, and KPAC to use eg_locale, since it has the appropriate format (e.g. en-US, fr-CA). Also adds some tests for EgWeb's handling of language codes. Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Changed files
- Open-ILS/src/perlmods/t/15-OpenILS-WWW.t
- Open-ILS/src/templates/base.tt2
- Open-ILS/src/templates/kpac/parts/base.tt2
- Open-ILS/src/templates/opac/parts/base.tt2
- Open-ILS/src/templates/staff/base.tt2