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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-4 / +7 lines)
Lines 47-59 Link Here
47
            [% SET tr_class = hold.suspend ? 'suspend' : '' %]
47
            [% SET tr_class = hold.suspend ? 'suspend' : '' %]
48
            <tr class="[% tr_class | html %]">
48
            <tr class="[% tr_class | html %]">
49
                <td><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]" /></td>
49
                <td><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]" /></td>
50
                <td>
50
                <td style="min-width:185px;">
51
                    <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
51
                    <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
52
                    <input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" />
52
                    <input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" />
53
                    <input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" />
53
                    <input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" />
54
                    [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
54
                    [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
55
                        [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %]
55
                        [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %]
56
                            <select name="rank-request" class="rank-request" data-hold-id="[% hold.reserve_id | html %]">
56
                            <label for="rank-request_[% hold.reserve_id | html %]">Change priority to:</label>
57
                            <select name="rank-request" id="rank-request_[% hold.reserve_id | html %]" class="rank-request" data-hold-id="[% hold.reserve_id | html %]">
57
                                [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
58
                                [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
58
                                    [% FOREACH priority IN all_priorities %]
59
                                    [% FOREACH priority IN all_priorities %]
59
                                        [% IF priority == this_priority %]
60
                                        [% IF priority == this_priority %]
Lines 85-92 Link Here
85
                        [% END %]
86
                        [% END %]
86
                    [% ELSE %]
87
                    [% ELSE %]
87
                        <input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]" />
88
                        <input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]" />
88
                        [% hold.priority | html %]
89
                    [% END %]
89
                    [% END %]
90
                    <div>
91
                        <label for="current_priority_[% hold.reserve_id | html %]">Current priority: </label>
92
                        <span id="current_priority_[% hold.reserve_id | html %]"><strong>[% hold.priority | html %]</strong></span>
93
                    </div>
90
                </td>
94
                </td>
91
                [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
95
                [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
92
                    [%- UNLESS hold.found -%]
96
                    [%- UNLESS hold.found -%]
93
- 

Return to bug 40654