From b087ab2a77253b74256bb4e80dcd5dc42c824338 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 20 Nov 2025 10:44:15 +0000 Subject: [PATCH] Bug 39142: Improve debug controls UI integration Moves debug controls from fixed bottom position (which overlapped navbar) to an integrated navbar dropdown with bug icon. Improves UX with: - Proper navbar integration at far right after user menu - Dynamic button text (Enable/Disable) reflecting current state - Icon color change (amber) when any toggles are active - Prevents duplicate URL parameters on multiple clicks Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/includes/header.inc | 18 +++ .../prog/en/includes/intranet-bottom.inc | 106 ++++++++++++++++-- 2 files changed, 117 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index 0634fd3492b..5b00a098c0d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -248,6 +248,24 @@ + [% IF Koha.debug_flag %] + + [% END %] [% INCLUDE 'langmenu-staff-top.inc' %] [% ELSE %]