Bugzilla – Attachment 129367 Details for
Bug 24866
Display budget hierarchy in the budget dropdown menu used when placing a new order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24866: (follow-up) Replaced tabulations by dashes
Bug-24866-follow-up-Replaced-tabulations-by-dashes.patch (text/plain), 2.24 KB, created by
Jonathan Druart
on 2022-01-13 05:30:30 UTC
(
hide
)
Description:
Bug 24866: (follow-up) Replaced tabulations by dashes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-01-13 05:30:30 UTC
Size:
2.24 KB
patch
obsolete
>From df25466237c112213caea1fdd65b8ee14c2ac2df Mon Sep 17 00:00:00 2001 >From: Florian Bontemps <florian.bontemps@biblibre.com> >Date: Tue, 9 Nov 2021 13:36:36 +0000 >Subject: [PATCH] Bug 24866: (follow-up) Replaced tabulations by dashes > >The rendering of SELECT elements is up to the browser. >But Bug 16123 CSS code 'style="padding-left: xx' doesn't work on modern browsers. > >Based on the previous contribution, this fix replaces CSS style attribute with dashes, creating a leveled structure that should work with most browsers. > >Tested on Linux Ubuntu with Firefox 94.0, Chromium 95.0.4 and Opera 81.0.1 >TEST PLAN : > >1. Go to the Administration module >2. Add a new budget (ie : Budget 2022) >3. Add a fund to this budget (ie : Book) >4. Add a sub-fund to fund Book (ie : Fiction) >5. Add another sub-fund, this time to sub-fund Book (ie : Adult fiction) >You will have this hierarchy : > >Budget 2022 > |____ Book > |_____ Fiction > |_____ Adult fiction > >6. Go to the Acquisition module >7. Select a vendor and create a new basket >8. Place an order >9. Check the budget dropdown menu > >BEFORE PATCH >Book >Fiction >Adult fiction > >OR > >Book > Fiction > Adult fiction > >AFTER PATCH >Book > -- Fiction > -- -- Adult fiction > > Co-authored-by: Didier Gautheron <didier.gautheron@biblibre.com> > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index 4a11a1efa1b..6fddb4f3fdf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -372,7 +372,7 @@ > [% level_indent_cnt = 0 %] > [% level_indent = "" %] > [% WHILE level_indent_cnt < budget_loo.b_level %] >- [% level_indent = level_indent _ " " %] >+ [% level_indent = level_indent _ " -- " %] > [% level_indent_cnt = level_indent_cnt +1 %] > [% END %] > >-- >2.25.1
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 24866
:
100688
|
101633
|
101634
|
102274
|
102399
|
102453
|
127487
|
127997
|
128091
|
128092
|
128093
|
129366
| 129367 |
129368
|
129369