Bugzilla – Attachment 166924 Details for
Bug 36885
Missing tooltip on budget planning page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36885: Fix Bootstrap tooltip on budget planning page
Bug-36885-Fix-Bootstrap-tooltip-on-budget-planning.patch (text/plain), 2.74 KB, created by
David Nind
on 2024-05-19 12:50:09 UTC
(
hide
)
Description:
Bug 36885: Fix Bootstrap tooltip on budget planning page
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-19 12:50:09 UTC
Size:
2.74 KB
patch
obsolete
>From 93357669822bc3eccc8a3b4f494cd22a8703b6f0 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <david@davidnind.com> >--- > 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..dad5bb9235 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 %] > <tr id="[% budget_line.budget_id | html %]"> > [% IF ( budget_line.budget_lock ) %] >- <td class="locked" title="Fund locked"> >+ <td class="locked"> >+ <a data-toggle="tooltip" title="Fund locked" href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_id=[% budget_line.budget_id | uri %]&budget_period_id=[% budget_period_id | uri %]">[% budget_line.budget_name | html %]</a> >+ </td> > [% ELSE %] > <td> >+ <a data-toggle="tooltip" title="Fund locked" href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_id=[% budget_line.budget_id | uri %]&budget_period_id=[% budget_period_id | uri %]">[% budget_line.budget_name | html %]</a> >+ </td> > [% END %] >- <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_id=[% budget_line.budget_id | uri %]&budget_period_id=[% budget_period_id | uri %]">[% budget_line.budget_name | html %]</a></td> > <td><span id="[% budget_line.budget_amount | html %]">[% budget_line.budget_amount | $Price %] </span> > <!-- NEXT DIV ELEMENT IS USED BY JS FOR CALC-ING AUTO-FILL AND ESTIMATED AMOUNTS --> > <div style="display:none;" id="budget_tot_[% budget_line.budget_id | html %]">[% budget_line.budget_amount | html %]</div></td> >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36885
:
166831
|
166924
|
168209
|
168997
|
169186