LP#1661661: Use new rtl field in config.i18n_locale
authorBen Shum <ben@evergreener.net>
Wed, 15 Feb 2017 19:22:27 +0000 (14:22 -0500)
committerBen Shum <ben@evergreener.net>
Wed, 15 Feb 2017 20:30:45 +0000 (15:30 -0500)
commitc1113fb61fa3d393f674027ef6e09e2eab5041a4
tree0e55dd196652b7bb97bf7d876cbea75d2711df4b
parent8662e65290ff8ad2abb50649f11ae870f732d07b
LP#1661661: Use new rtl field in config.i18n_locale

Add a new column for "rtl" in config.i18n_locale and then use that
to check which direction to assign for the CSS files.

Two upgrade scripts, one to change the schema for new column and a
second one to enable Arabic (Jordan) as an option.

Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-rtl-field-to-i18n_locale.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/YYYY.data.add-arabic-to-i18n_locale.sql [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/base.tt2