Lines 369-390
Link Here
|
369 |
<select id="budget_id" name="budget_id"> |
369 |
<select id="budget_id" name="budget_id"> |
370 |
<option value="">Select a fund</option> |
370 |
<option value="">Select a fund</option> |
371 |
[% FOREACH budget_loo IN budget_loop %] |
371 |
[% FOREACH budget_loo IN budget_loop %] |
|
|
372 |
[% level_indent_cnt = 0 %] |
373 |
[% level_indent = "" %] |
374 |
[% WHILE level_indent_cnt < budget_loo.b_level %] |
375 |
[% level_indent = level_indent _ " " %] |
376 |
[% level_indent_cnt = level_indent_cnt +1 %] |
377 |
[% END %] |
378 |
|
372 |
[% IF ( budget_loo.b_sel ) %] |
379 |
[% IF ( budget_loo.b_sel ) %] |
373 |
[% active_count = 0 #select no other fund %] |
380 |
[% active_count = 0 #select no other fund %] |
374 |
<option value="[% budget_loo.b_id | html %]" selected="selected" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]" |
381 |
<option value="[% budget_loo.b_id | html %]" selected="selected" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]" |
375 |
style="padding-left:[% budget_loo.b_level | html %]em;" |
|
|
376 |
> |
382 |
> |
377 |
[% ELSIF active_count==1 && budget_loo.b_active %] |
383 |
[% ELSIF active_count==1 && budget_loo.b_active %] |
378 |
<option value="[% budget_loo.b_id | html %]" selected="selected" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]" |
384 |
<option value="[% budget_loo.b_id | html %]" selected="selected" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]" |
379 |
style="padding-left:[% budget_loo.b_level | html %]em;" |
|
|
380 |
> |
385 |
> |
381 |
[% ELSE %] |
386 |
[% ELSE %] |
382 |
[% bdgclass=budget_loo.b_active? "": "b_inactive" | html %] |
387 |
[% bdgclass=budget_loo.b_active? "": "b_inactive" | html %] |
383 |
<option value="[% budget_loo.b_id | html %]" class="[% bdgclass | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]" |
388 |
<option value="[% budget_loo.b_id | html %]" class="[% bdgclass | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]" |
384 |
style="padding-left:[% budget_loo.b_level | html %]em;" |
|
|
385 |
> |
389 |
> |
386 |
[% END %] |
390 |
[% END %] |
387 |
[% budget_loo.b_txt | html %][% IF !budget_loo.b_active %] (inactive)[% END %] |
391 |
[% level_indent | $raw %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %] (inactive)[% END %] |
388 |
</option> |
392 |
</option> |
389 |
[% END %] |
393 |
[% END %] |
390 |
</select> |
394 |
</select> |
391 |
- |
|
|