From deb9bf78b8197eeb90e2c9c9088104a0b91d498b 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 --- 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 0a6715b1d0..e17efa1058 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt @@ -91,11 +91,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