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 31-37 Link Here
31
    $(".copiesrow").hide();
31
    $(".copiesrow").hide();
32
32
33
    $("#place_on_hdr").show();
33
    $("#place_on_hdr").show();
34
    $(".place_on_type").show();
34
    [% IF OPACItemHolds == 'yes' %]
35
        $(".place_on_type").show();
36
    [% END %]
35
37
36
    // Replace non-JS single-selection with multi-selection capability.
38
    // Replace non-JS single-selection with multi-selection capability.
37
    $(".reserve_mode").val("multi");
39
    $(".reserve_mode").val("multi");
Lines 147-153 Link Here
147
149
148
        $("#selections").val(selections);
150
        $("#selections").val(selections);
149
        $("#biblionumbers").val(biblionumbers);
151
        $("#biblionumbers").val(biblionumbers);
150
151
        return true;
152
        return true;
152
    });
153
    });
153
154
Lines 341-347 Link Here
341
342
342
                    [% IF ( bibitemloo.holdable ) %]
343
                    [% IF ( bibitemloo.holdable ) %]
343
		    <!-- HOLDABLE -->
344
		    <!-- HOLDABLE -->
344
		        [% IF OPACItemHolds == 'yes' %]
345
		        [% IF OPACItemHolds == 'yes' or OPACItemHolds == 'force' %]
345
		        <!-- ITEM HOLDS -->
346
		        <!-- ITEM HOLDS -->
346
                                          <td class="place_on_type" style="display:none">
347
                                          <td class="place_on_type" style="display:none">
347
                                            <ul>
348
                                            <ul>
Lines 350-356 Link Here
350
                                                           id="reqany_[% bibitemloo.biblionumber %]"
351
                                                           id="reqany_[% bibitemloo.biblionumber %]"
351
                                                           class="selectany"
352
                                                           class="selectany"
352
                                                           value="Any"
353
                                                           value="Any"
353
                                                           checked="checked"
354
                                                           [% IF OPACItemHolds == "yes" %]checked="checked"[% END %]
354
                                                    />
355
                                                    />
355
                                                    <label for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label>
356
                                                    <label for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label>
356
                                                </li>
357
                                                </li>
Lines 359-376 Link Here
359
                                                           id="reqspecific_[% bibitemloo.biblionumber %]"
360
                                                           id="reqspecific_[% bibitemloo.biblionumber %]"
360
                                                           class="selectspecific"
361
                                                           class="selectspecific"
361
                                                           value="Specific"
362
                                                           value="Specific"
363
                                                           [% IF OPACItemHolds == "force" %]checked="checked"[% END %]
362
                                                    />
364
                                                    />
363
                                                    <label for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label>
365
                                                    <label for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label>
364
                                                </li>
366
                                                </li>
365
                                            </ul>
367
                                            </ul>
366
                                          </td>
368
                                          </td>
367
		        [% ELSIF OPACItemHolds == 'force' %]
369
                        [% IF OPACItemHolds == 'force' %]
368
<script type="text/javascript">
370
                            <script type="text/javascript">
369
    $(document).ready(function() {
371
                                $(document).ready(function() {
370
        $("#copiesrow_[% bibitemloo.biblionumber %]").show();
372
                                    $("#copiesrow_[% bibitemloo.biblionumber %]").show();
371
    });
373
                                });
372
</script>
374
                            </script>
373
                        [% END %]
375
                        [% END %]
376
                    [% END %]
377
374
                    [% END  # holdable%]
378
                    [% END  # holdable%]
375
                    [% UNLESS ( singleBranchMode ) %]
379
                    [% UNLESS ( singleBranchMode ) %]
376
                        [% IF ( bibitemloo.holdable ) %]
380
                        [% IF ( bibitemloo.holdable ) %]
377
- 

Return to bug 7825