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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-11 / +14 lines)
Lines 30-36 Link Here
30
    $(".copiesrow").hide();
30
    $(".copiesrow").hide();
31
31
32
    $("#place_on_hdr").show();
32
    $("#place_on_hdr").show();
33
    $(".place_on_type").show();
33
    [% IF OPACItemHolds == 'yes' %]
34
        $(".place_on_type").show();
35
    [% END %]
34
36
35
    // Replace non-JS single-selection with multi-selection capability.
37
    // Replace non-JS single-selection with multi-selection capability.
36
    $(".reserve_mode").val("multi");
38
    $(".reserve_mode").val("multi");
Lines 146-152 Link Here
146
148
147
        $("#selections").val(selections);
149
        $("#selections").val(selections);
148
        $("#biblionumbers").val(biblionumbers);
150
        $("#biblionumbers").val(biblionumbers);
149
150
        return true;
151
        return true;
151
    });
152
    });
152
153
Lines 336-342 Link Here
336
337
337
                    [% IF ( bibitemloo.holdable ) %]
338
                    [% IF ( bibitemloo.holdable ) %]
338
		    <!-- HOLDABLE -->
339
		    <!-- HOLDABLE -->
339
		        [% IF OPACItemHolds == 'yes' %]
340
		        [% IF OPACItemHolds == 'yes' or OPACItemHolds == 'force' %]
340
		        <!-- ITEM HOLDS -->
341
		        <!-- ITEM HOLDS -->
341
                                          <td class="place_on_type" style="display:none">
342
                                          <td class="place_on_type" style="display:none">
342
                                            <ul>
343
                                            <ul>
Lines 345-351 Link Here
345
                                                           id="reqany_[% bibitemloo.biblionumber %]"
346
                                                           id="reqany_[% bibitemloo.biblionumber %]"
346
                                                           class="selectany"
347
                                                           class="selectany"
347
                                                           value="Any"
348
                                                           value="Any"
348
                                                           checked="checked"
349
                                                           [% IF OPACItemHolds == "yes" %]checked="checked"[% END %]
349
                                                    />
350
                                                    />
350
                                                    <label for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label>
351
                                                    <label for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label>
351
                                                </li>
352
                                                </li>
Lines 354-371 Link Here
354
                                                           id="reqspecific_[% bibitemloo.biblionumber %]"
355
                                                           id="reqspecific_[% bibitemloo.biblionumber %]"
355
                                                           class="selectspecific"
356
                                                           class="selectspecific"
356
                                                           value="Specific"
357
                                                           value="Specific"
358
                                                           [% IF OPACItemHolds == "force" %]checked="checked"[% END %]
357
                                                    />
359
                                                    />
358
                                                    <label for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label>
360
                                                    <label for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label>
359
                                                </li>
361
                                                </li>
360
                                            </ul>
362
                                            </ul>
361
                                          </td>
363
                                          </td>
362
		        [% ELSIF OPACItemHolds == 'force' %]
364
                        [% IF OPACItemHolds == 'force' %]
363
<script type="text/javascript">
365
                            <script type="text/javascript">
364
    $(document).ready(function() {
366
                                $(document).ready(function() {
365
        $("#copiesrow_[% bibitemloo.biblionumber %]").show();
367
                                    $("#copiesrow_[% bibitemloo.biblionumber %]").show();
366
    });
368
                                });
367
</script>
369
                            </script>
368
                        [% END %]
370
                        [% END %]
371
                    [% END %]
372
369
                    [% END  # holdable%]
373
                    [% END  # holdable%]
370
                    [% UNLESS ( singleBranchMode ) %]
374
                    [% UNLESS ( singleBranchMode ) %]
371
                        [% IF ( bibitemloo.holdable ) %]
375
                        [% IF ( bibitemloo.holdable ) %]
372
- 

Return to bug 7825