From c59247733bed95c6c94464454514faaca214838e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 11 Sep 2024 16:01:49 +0000 Subject: [PATCH] Bug 37841: Switch OPAC language menu alignment in header and footer The OPAC language menu is now generated by the same include file in both the header and the footer. We have a switch for the menu's direction based on this context, but we also need a switch for alignment: The menu should extend left into the page from the header, and right into the page from the footer. To test you should have at least one additional language installed and enabled. To reproduce the bug I recomment en-GB because the language description is long enough to trigger the misalignment. - Apply the patch and set the 'opaclanguagesdisplay' system preference to "Allow" and the 'OpacLangSelectorMode' preference to "both top and footer". - Go to the OPAC and test the language selector menus in the header and footer. - The expanded menu in the header should extend to the left of the "Languages" menu trigger. - The expanded menu in the footer should extend to the right of the "Languages" menu trigger. Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/includes/langmenu.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/langmenu.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/langmenu.inc index 10aa714682..fb79a00e24 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/langmenu.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/langmenu.inc @@ -6,7 +6,11 @@