Lines 47-60
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 style="min-width:185px;" data-order="[% priority | html %]"> |
50 |
<td style="min-width:190px;" data-order="[% priority | html %]"> |
51 |
<div> |
51 |
<div class="priority_container"> |
52 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
52 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
53 |
<input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" /> |
53 |
<input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" /> |
54 |
<input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" /> |
54 |
<input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" /> |
55 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
55 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
56 |
[% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] |
56 |
[% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] |
57 |
<label for="rank-request_[% hold.reserve_id | html %]">Change priority to:</label> |
57 |
<label for="rank-request_[% hold.reserve_id | html %]">Change priority to: </label> |
58 |
<select name="rank-request" id="rank-request_[% hold.reserve_id | html %]" class="rank-request" data-hold-id="[% hold.reserve_id | html %]"> |
58 |
<select name="rank-request" id="rank-request_[% hold.reserve_id | html %]" class="rank-request" data-hold-id="[% hold.reserve_id | html %]"> |
59 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
59 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
60 |
[% FOREACH priority IN all_priorities %] |
60 |
[% FOREACH priority IN all_priorities %] |
Lines 88-97
Link Here
|
88 |
[% ELSE %] |
88 |
[% ELSE %] |
89 |
<input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]" /> |
89 |
<input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]" /> |
90 |
[% END %] |
90 |
[% END %] |
91 |
<div> |
91 |
<label for="current_priority_[% hold.reserve_id | html %]">Current priority: </label> |
92 |
<label for="current_priority_[% hold.reserve_id | html %]">Current priority: </label> |
92 |
<span id="current_priority_[% hold.reserve_id | html %]" class="current_priority badge text-bg-info">[% hold.priority | html %]</span> |
93 |
<span id="current_priority_[% hold.reserve_id | html %]" class="current_priority badge text-bg-info">[% hold.priority | html %]</span> |
|
|
94 |
</div> |
95 |
</div> |
93 |
</div> |
96 |
</td> |
94 |
</td> |
97 |
[%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] |
95 |
[%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] |