From ad721089559de3578a4e2e90ea32771fcba0f329 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 10 Mar 2021 17:48:08 -0500 Subject: [PATCH] LP#1918511: make the Bootstrap skin the default for the public catalog To test ------- [1] Perform a fresh installation of Evergreen, or at least put in the updated eg_vhost.conf. [2] Verify that the public catalog is using the Bootstrap skin. Signed-off-by: Galen Charlton Signed-off-by: Mike Rylander --- Open-ILS/examples/apache_24/eg_vhost.conf.in | 18 ++++++++--------- .../OPAC/Default_Bootstrap.adoc | 20 +++++++++++++++++++ 2 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/Default_Bootstrap.adoc diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in index 809d31172a..2a78307d12 100644 --- a/Open-ILS/examples/apache_24/eg_vhost.conf.in +++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in @@ -657,30 +657,30 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT] # contains the messages. # # If you enable two or more locales, then users will be able to - # select their preferred locale from a locale picker in the TPAC. + # select their preferred locale from a locale picker in the Bootstrap OPAC. # #PerlAddVar OILSWebLocale "en" - #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/opac/messages.en.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/bootstrap-opac/messages.en.po" #PerlAddVar OILSWebLocale "en_ca" - #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/opac/en-CA.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/bootstrap-opac/en-CA.po" #PerlAddVar OILSWebLocale "fr_ca" - #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/opac/fr-CA.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/bootstrap-opac/fr-CA.po" - # If you're using the Bootstrap OPAC, you should instead set the locales + # If you're using the TPAC OPAC, you should instead set the locales # like this: #PerlAddVar OILSWebLocale "en" - #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/bootstrap-opac/messages.en.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/opac/messages.en.po" #PerlAddVar OILSWebLocale "en_ca" - #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/bootstrap-opac/en-CA.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/opac/en-CA.po" #PerlAddVar OILSWebLocale "fr_ca" - #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/bootstrap-opac/fr-CA.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/opac/fr-CA.po" # Set the default locale: defaults to en-US #PerlAddVar OILSWebDefaultLocale "fr_ca" # Templates will be loaded from the following paths in reverse order. PerlAddVar OILSWebTemplatePath "@localstatedir@/templates" - #PerlAddVar OILSWebTemplatePath "@localstatedir@/templates-bootstrap" #Uncomment this line to use the new bootstrap OPAC + PerlAddVar OILSWebTemplatePath "@localstatedir@/templates-bootstrap" # Comment this line out to use the legacy TPAC #PerlAddVar OILSWebTemplatePath "@localstatedir@/templates_localskin" #------------------------------------------------- diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/Default_Bootstrap.adoc b/docs/RELEASE_NOTES_NEXT/OPAC/Default_Bootstrap.adoc new file mode 100644 index 0000000000..94eb332f06 --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/OPAC/Default_Bootstrap.adoc @@ -0,0 +1,20 @@ +Default Public Catalog to the Bootstrap Skin +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +The public catalog now defaults to the Bootstrap skin rather than the +legacy TPAC skin. + +Bootstrap is now the default in order to encourage more testing, but +users should be aware of the following +https://bugs.launchpad.net/evergreen/+bugs?field.tag=bootstrap-blocker[issues]; +certain specific functionality is available only in the TPAC skin. + +The TPAC skin remains available for use, but current Evergreen users +should start actively considering migrating to the Bootstrap skin. + +In order to continue to use the TPAC skin, comment out the following +line in `eg_vhost.conf` + +[source,conf] +--- +PerlAddVar OILSWebTemplatePath "@localstatedir@/templates-bootstrap" # Comment this line out to use the legacy TPAC +--- -- 2.43.2