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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (+4 lines)
Lines 12-18 Link Here
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
          [% IF selected == d.desk_id %]
16
            <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" selected="selected">[% d.desk_name | html %]</option>
17
          [% ELSE %]
15
            <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" >[% d.desk_name | html %]</option>
18
            <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" >[% d.desk_name | html %]</option>
19
          [% END %]
16
        [% ELSE %]
20
        [% ELSE %]
17
            <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled hidden>[% d.desk_name | html %]</option>
21
            <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled hidden>[% d.desk_name | html %]</option>
18
        [% END%]
22
        [% END%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt (-2 / +1 lines)
Lines 79-85 Updated:<ul> Link Here
79
    <ol>
79
    <ol>
80
        <li><label for="desk">Choose Desk:</label>
80
        <li><label for="desk">Choose Desk:</label>
81
        <select name="desk_id" id="desk_id">
81
        <select name="desk_id" id="desk_id">
82
            [% PROCESS options_for_desks desks => Desks.all( selected => desk_id ) %]
82
            [% PROCESS options_for_desks desks => Desks.all(), selected => desk_id  %]
83
        </select></li>
83
        </select></li>
84
    </ol>
84
    </ol>
85
</fieldset>
85
</fieldset>
86
- 

Return to bug 24201