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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-35 / +40 lines)
Lines 613-630 Link Here
613
                            </fieldset>
613
                            </fieldset>
614
                            <fieldset class="rows">
614
                            <fieldset class="rows">
615
                                <legend>
615
                                <legend>
616
                                    <label for="requestany" class="inline">
616
                                    <button type="button">
617
                                        Hold next available item
617
                                        [% IF force_hold_level == 'item' || force_hold_level == 'item_group' %]
618
                                    </label>
618
                                            <input type="radio" id="requestany" name="request" disabled="true" />
619
                                    [% IF force_hold_level == 'item' || force_hold_level == 'item_group' %]
619
                                        [% ELSIF force_hold_level == 'record' %]
620
                                        <input type="radio" id="requestany" name="request" disabled="true" />
620
                                            <input type="radio" id="requestany" checked="checked" value="Any" disabled="true"/>
621
                                    [% ELSIF force_hold_level == 'record' %]
621
                                            <input type="hidden" name="request" value="Any"/>
622
                                        <input type="radio" id="requestany" checked="checked" value="Any" disabled="true"/>
622
                                            <span class="error"><i>(Required)</i></span>
623
                                        <input type="hidden" name="request" value="Any"/>
623
                                        [% ELSE %]
624
                                        <span class="error"><i>(Required)</i></span>
624
                                            <input type="radio" id="requestany" name="request" checked="checked" value="Any" />
625
                                    [% ELSE %]
625
                                        [% END %]
626
                                        <input type="radio" id="requestany" name="request" checked="checked" value="Any" />
626
                                        <label for="requestany" class="inline">
627
                                    [% END %]
627
                                            Hold next available item
628
                                        </label>
629
                                    </button>
628
                                </legend>
630
                                </legend>
629
                                <input type="hidden" name="alreadyreserved" value="[% alreadyreserved | html %]" />
631
                                <input type="hidden" name="alreadyreserved" value="[% alreadyreserved | html %]" />
630
                                <fieldset class="enable_request_any disable_request_group disable_request_specific">
632
                                <fieldset class="enable_request_any disable_request_group disable_request_specific">
Lines 695-711 Link Here
695
                        [% IF Koha.Preference('EnableItemGroupHolds') && biblio_info.object.item_groups.count %]
697
                        [% IF Koha.Preference('EnableItemGroupHolds') && biblio_info.object.item_groups.count %]
696
                        <fieldset class="rows">
698
                        <fieldset class="rows">
697
                            <legend>
699
                            <legend>
698
                                <label for="requestgrp" class="inline">
700
                                <button type="button">
699
                                    Hold next available item from an item group
701
                                    [% IF force_hold_level == 'item_group' %]
700
                                </label>
702
                                        <input type="radio" class="requestgrp" id="requestgrp" name="request" checked="checked" disabled="true" />
701
                                [% IF force_hold_level == 'item_group' %]
703
                                        <span class="error"><i>(Required)</i></span>
702
                                    <input type="radio" class="requestgrp" id="requestgrp" name="request" checked="checked" disabled="true" />
704
                                    [% ELSIF force_hold_level == 'item' || force_hold_level == 'record' %]
703
                                    <span class="error"><i>(Required)</i></span>
705
                                        <input type="radio" class="requestgrp" id="requestgrp" name="request" disabled="true" />
704
                                [% ELSIF force_hold_level == 'item' || force_hold_level == 'record' %]
706
                                    [% ELSE %]
705
                                    <input type="radio" class="requestgrp" id="requestgrp" name="request" disabled="true" />
707
                                        <input type="radio" class="requestgrp" id="requestgrp" name="request" />
706
                                [% ELSE %]
708
                                    [% END %]
707
                                    <input type="radio" class="requestgrp" id="requestgrp" name="request" />
709
                                    <label for="requestgrp" class="inline">
708
                                [% END %]
710
                                        Hold next available item from an item group
711
                                    </label>
712
                                </button>
709
                            </legend>
713
                            </legend>
710
714
711
                            <fieldset class="enable_request_group disable_request_any disable_request_specific">
715
                            <fieldset class="enable_request_group disable_request_any disable_request_specific">
Lines 792-808 Link Here
792
796
793
                        <fieldset class="rows">
797
                        <fieldset class="rows">
794
                            <legend>
798
                            <legend>
795
                                <label for="requestspecificitem" class="inline">
799
                                <button type="button">
796
                                    Hold a specific item
800
                                    [% IF force_hold_level == 'item' %]
797
                                </label>
801
                                         <input type="radio" id="requestspecificitem" name="request" class="requestspecific" checked="checked" disabled='disabled'/>
798
                                [% IF force_hold_level == 'item' %]
802
                                         <span class="error"><em>(Required)</em></span>
799
                                     <input type="radio" id="requestspecificitem" name="request" class="requestspecific" checked="checked" disabled='disabled'/>
803
                                    [% ELSIF force_hold_level == 'record' || force_hold_level == 'item_group' %]
800
                                     <span class="error"><em>(Required)</em></span>
804
                                         <input type="radio" id="requestspecificitem" name="request" class="requestspecific" disabled='disabled'/>
801
                                [% ELSIF force_hold_level == 'record' || force_hold_level == 'item_group' %]
805
                                    [% ELSE %]
802
                                     <input type="radio" id="requestspecificitem" name="request" class="requestspecific" disabled='disabled'/>
806
                                         <input type="radio" id="requestspecificitem" name="request" class="requestspecific"/>
803
                                [% ELSE %]
807
                                    [% END %]
804
                                     <input type="radio" id="requestspecificitem" name="request" class="requestspecific"/>
808
                                    <label for="requestspecificitem" class="inline">
805
                                [% END %]
809
                                        Hold a specific item
810
                                    </label>
811
                                </button>
806
                            </legend>
812
                            </legend>
807
813
808
                            <fieldset class="enable_request_specific disable_request_any disable_request_group">
814
                            <fieldset class="enable_request_specific disable_request_any disable_request_group">
809
- 

Return to bug 30579