]> git.koha-community.org Git - koha.git/commit
Bug 14252: Move OPAC lang switcher to masthead navbar
authorIndranil Das Gupta <indradg@gmail.com>
Fri, 22 May 2015 21:41:48 +0000 (03:11 +0530)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 23 Jun 2015 13:24:37 +0000 (10:24 -0300)
commit2845fb2423a24b2adde52a421f7a9e5d99bc36f7
tree31a763c5873bd90e88718c8c07b6157625b5d2ce
parentcad134cd172c50dd55bf11696d69460bc2bf547d
Bug 14252: Move OPAC lang switcher to masthead navbar

The OPAC language switcher takes up a lot of space at the bottom of the
browser. It also has issues of being not always visible.
This patch adds the switcher to the masthead navbar and removes from the
opac-bottom.inc navbar.

Test plan
=========

1/ Apply patch
2/ Set opaclanguagesdisplay syspref to 'show'.
3/ Add a few languages i.e. es-ES, fr-FR and de-DE
     $ cd misc/translator
     $ perl translate <langcode>
4/ Enable installed languages for OPAC use by checking on 'opaclanguages'
   under I18N/L10N sysprefs
5/ Go to the OPAC, you should have a "Languages" dropdown on the masthead
   navbar, the opac-bottom.inc navbar should no longer be there.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works, no koha-qa errors.
Followup fix language chooser for sublanguages

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc