From 7525e88ca7b07fe4fe86b66e778049c925d9c3a4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 16 May 2024 13:57:11 +0000 Subject: [PATCH] Bug 36885: Fix Bootstrap tooltip on budget planning page This patch finishes the process of adding a Bootstrap tooltip to the listing of funds which are locked. To test, apply the patch and go to Administration -> Budgets. - Edit a budget and make it locked: Check the "Lock budget" checkbox and save. - View the budget you locked. - From the toolbar, click Planning -> Plan by months. - In the table of funds, hover your mouse over a fund. - You should see a Bootstrap-styled tooltip, "Fund locked." Signed-off-by: David Nind Bug 36885: (follow-up) Correct popup hint Bug 36885: (follow-up) Remove tooltip from unlocked budgets (copy-paste error) Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize (cherry picked from commit deb9bf78b8197eeb90e2c9c9088104a0b91d498b) Signed-off-by: Lucas Gass (cherry picked from commit c20fede430654dc3c6830d6227e9e954859ec993) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt index 2636b67f86..6a419abf48 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt @@ -90,11 +90,14 @@ [% FOREACH budget_line IN budget_lines %] [% IF ( budget_line.budget_lock ) %] - + + [% budget_line.budget_name | html %] + [% ELSE %] + [% budget_line.budget_name | html %] + [% END %] - [% budget_line.budget_name | html %] [% budget_line.budget_amount | $Price %]  -- 2.39.5