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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-3 / +4 lines)
Lines 298-305 Link Here
298
                                                            </li>
298
                                                            </li>
299
                                                        [% END # / IF OpacHoldNotes %]
299
                                                        [% END # / IF OpacHoldNotes %]
300
300
301
                                                        [% IF bibitemloo.itemholdable %]
301
                                                        <!-- ITEM HOLDS -->
302
                                                        <!-- ITEM HOLDS -->
302
                                                        <li class="lradio place_on_type" style="display:none;">
303
                                                        <li class="lradio place_on_type" style="display:none;">
304
                                                            [% IF NOT bibitemloo.force_hold %]
303
                                                                <label class="radio inline" for="reqany_[% bibitemloo.biblionumber | html %]">Next available item</label>
305
                                                                <label class="radio inline" for="reqany_[% bibitemloo.biblionumber | html %]">Next available item</label>
304
                                                                <input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]"
306
                                                                <input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]"
305
                                                                        id="reqany_[% bibitemloo.biblionumber | html %]"
307
                                                                        id="reqany_[% bibitemloo.biblionumber | html %]"
Lines 307-312 Link Here
307
                                                                        value="Any"
309
                                                                        value="Any"
308
                                                                        checked="checked"
310
                                                                        checked="checked"
309
                                                                />
311
                                                                />
312
                                                            [% END %]
310
                                                            <label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber | html %]">A specific item</label>
313
                                                            <label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber | html %]">A specific item</label>
311
                                                            <input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]"
314
                                                            <input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]"
312
                                                                   id="reqspecific_[% bibitemloo.biblionumber | html %]"
315
                                                                   id="reqspecific_[% bibitemloo.biblionumber | html %]"
Lines 314-319 Link Here
314
                                                                   value="Specific"
317
                                                                   value="Specific"
315
                                                            />
318
                                                            />
316
                                                        </li>
319
                                                        </li>
320
                                                        [% END # / IF bibitemloo.itemholdable %]
317
                                                    </ul>
321
                                                    </ul>
318
322
319
                                                    [% IF bibitemloo.remaining_holds_for_record > 1 %]
323
                                                    [% IF bibitemloo.remaining_holds_for_record > 1 %]
Lines 526-533 Link Here
526
                    $("#toggle-hold-options-[% bibitemloo.biblionumber | html %]").click();
530
                    $("#toggle-hold-options-[% bibitemloo.biblionumber | html %]").click();
527
                    $("#reqany_[% bibitemloo.biblionumber | html %]").attr('checked', true);
531
                    $("#reqany_[% bibitemloo.biblionumber | html %]").attr('checked', true);
528
                [% END %]
532
                [% END %]
529
                $("#reqany_[% bibitemloo.biblionumber | html %]").attr('disabled', 'disabled');
530
                $("#reqspecific_[% bibitemloo.biblionumber | html %]").attr('disabled', 'disabled');
531
            [% END %]
533
            [% END %]
532
            [% IF bibitemloo.reqholdnotes %]
534
            [% IF bibitemloo.reqholdnotes %]
533
                $("#holdnotes_[% bibitemloo.biblionumber | html %]").attr( 'required', true );
535
                $("#holdnotes_[% bibitemloo.biblionumber | html %]").attr( 'required', true );
534
- 

Return to bug 15565