Lines 288-299
Link Here
|
288 |
[% SET budget_period = budget_loops.$budget_period_id %] |
288 |
[% SET budget_period = budget_loops.$budget_period_id %] |
289 |
[% SET optgroup_class = "" %] |
289 |
[% SET optgroup_class = "" %] |
290 |
[% SET optgroup_label = budget_period.description %] |
290 |
[% SET optgroup_label = budget_period.description %] |
291 |
[% IF budget_period.active %] |
291 |
[% IF !budget_period.active %] |
292 |
[% SET optgroup_class = "inactive_budget" %] |
292 |
[% SET optgroup_class = "inactive_budget" %] |
293 |
[% SET optgroup_label = t("{budget_description} (Inactive)", {budget_description = budget_period.description}) %] |
293 |
[% SET optgroup_label = t("{budget_description} (Inactive)", {budget_description = budget_period.description}) %] |
294 |
[% END %] |
294 |
[% END %] |
295 |
|
295 |
|
296 |
<optgroup class="inactive_budget" label="[% optgroup_label | html %]"> |
296 |
<optgroup class="[% optgroup_class | html %]" label="[% optgroup_label | html %]"> |
297 |
[% FOREACH budget_loo IN budget_period.funds %] |
297 |
[% FOREACH budget_loo IN budget_period.funds %] |
298 |
[% level_indent_cnt = 0 %] |
298 |
[% level_indent_cnt = 0 %] |
299 |
[% level_indent = "" %] |
299 |
[% level_indent = "" %] |
300 |
- |
|
|