From 62611345a98749660e2c3dd960c4fd3a0f0128a9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 28 Jan 2026 12:58:00 -0500 Subject: [PATCH] Bug 40813: (follow-up) Add some CSS, udpate navbar structure This follow-up changes the structure of the footer navbar markup so that it avoids IDs related to "language" since its purpose is now more general. The start and end time markup is adjusted for being inside a navbar and to align it to the right away from the language menu (if present). Also changed: Added missing html filters and fixed a minor tidy complaint in Auth.pm. --- C4/Auth.pm | 2 +- .../prog/css/src/staff-global.scss | 4 +- .../prog/en/includes/intranet-bottom.inc | 48 ++++++++++--------- 3 files changed, 29 insertions(+), 25 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 615ee53525a..8414922ef0f 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1239,7 +1239,7 @@ sub checkauth { : Koha::Cash::Registers->search( { branch => $branchcode, branch_default => 1 }, { rows => 1 } - )->single; + )->single; $register_id = $register->id if ($register); $register_name = $register->name if ($register); } diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index ebb964719da..37cd184aa00 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -3187,7 +3187,7 @@ button, } } -#changelanguage { +#footer_menu_container { border-top: 1px solid rgb(173, 173, 173); min-height: $language-footer-min-height; position: unset; @@ -4788,7 +4788,7 @@ div .suggestion_note { padding-bottom: 4em; } - #changelanguage { + #footer_menu_container { bottom: 0; display: block; left: 0; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc index f1bb32929b8..c1340280d42 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc @@ -12,14 +12,14 @@ [% IF start_time || ( ( languages_loop ) && ( ! popup_window ) && ( Koha.Preference('StaffLangSelectorMode') == 'both' || Koha.Preference('StaffLangSelectorMode') == 'footer') ) %] [% UNLESS ( one_language_enabled ) %] -