View | Details | Raw Unified | Return to bug 24201
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (-9 / +8 lines)
Lines 9-23 Link Here
9
[% END %]
9
[% END %]
10
10
11
[% BLOCK options_for_desks %]
11
[% BLOCK options_for_desks %]
12
                <option id="nodesk" value="">---</option>
12
    <option id="nodesk" value="">---</option>
13
       [% FOREACH d IN desks %]
13
    [% FOREACH d IN desks %]
14
            [% IF d.branchcode == branch %]
14
        [% IF d.branchcode == branch %]
15
                <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" >[% d.desk_name | html %]</option>
15
            <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" >[% d.desk_name | html %]</option>
16
            [% ELSE %]
16
        [% ELSE %]
17
                <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled hidden>[% d.desk_name | html %]</option>
17
            <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled hidden>[% d.desk_name | html %]</option>
18
            [% END%]
18
        [% END%]
19
        [% END %]
20
    [% END %]
19
    [% END %]
20
[% END %]
21
21
22
[% BLOCK options_for_authorised_value_categories %]
22
[% BLOCK options_for_authorised_value_categories %]
23
    [% FOREACH avc IN authorised_value_categories %]
23
    [% FOREACH avc IN authorised_value_categories %]
24
- 

Return to bug 24201