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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-12 / +22 lines)
Lines 423-439 Link Here
423
                        [% IF ( bibitemloo.holdable ) %]
423
                        [% IF ( bibitemloo.holdable ) %]
424
			    [% IF ( choose_branch ) %]
424
			    [% IF ( choose_branch ) %]
425
			                   <td>
425
			                   <td>
426
                                              <select name="branch" id="branch_[% bibitemloo.biblionumber %]"
426
                         [% UNLESS ( bibitemloo.holdable ) %]
427
                                                [% UNLESS ( bibitemloo.holdable ) %]disabled="disabled"[% END %] >
427
                            <select name="branch" id="branch_[% bibitemloo.biblionumber %]" disabled="disabled">
428
                                                [% FOREACH branchChoicesLoo IN bibitemloo.branchChoicesLoop %]
428
                              [% FOREACH branchChoicesLoo IN bibitemloo.branchChoicesLoop %]
429
                                                  [% IF ( branchChoicesLoo.selected ) %]
429
                                [% IF ( branchChoicesLoo.selected ) %]
430
                                                    <option value="[% branchChoicesLoo.value %]" selected="selected">[% branchChoicesLoo.branchname %]</option>
430
                                  <option value="[% branchChoicesLoo.value %]" selected="selected">[% branchChoicesLoo.branchname %]</option>
431
                                                  [% ELSE %]
431
                                [% ELSE %]
432
                                                    <option value="[% branchChoicesLoo.value %]">[% branchChoicesLoo.branchname %]</option>
432
                                  <option value="[% branchChoicesLoo.value %]">[% branchChoicesLoo.branchname %]</option>
433
                                                  [% END %]
433
                                [% END %]
434
                                                [% END %]
434
                              [% END %]
435
                                              </select>
435
                          </select>
436
                                           </td>
436
                          [% ELSE %]
437
                            <select name="branch" id="branch_[% bibitemloo.biblionumber %]">
438
                              [% FOREACH branchChoicesLoo IN bibitemloo.branchChoicesLoop %]
439
                                [% IF ( branchChoicesLoo.selected ) %]
440
                                  <option value="[% branchChoicesLoo.value %]" selected="selected">[% branchChoicesLoo.branchname %]</option>
441
                                [% ELSE %]
442
                                  <option value="[% branchChoicesLoo.value %]">[% branchChoicesLoo.branchname %]</option>
443
                                [% END %]
444
                              [% END %]
445
                            </select>
446
                          [% END %]
447
                       </td>
437
			    [% END %]
448
			    [% END %]
438
		        [% END %]
449
		        [% END %]
439
                    [% END %]
450
                    [% END %]
440
- 

Return to bug 6458