Lines 17-23
Link Here
|
17 |
<th>Pickup library</th> |
17 |
<th>Pickup library</th> |
18 |
<th>Details</th> |
18 |
<th>Details</th> |
19 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
19 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
20 |
<th><img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Toggle set to lowest priority" /></th> |
20 |
<th> |
|
|
21 |
<i class="fa fa-lg fa-rotate-90 fa-fast-forward" title="Toggle set to lowest priority"></i> |
22 |
</th> |
21 |
[% END %] |
23 |
[% END %] |
22 |
<th> </th> |
24 |
<th> </th> |
23 |
<th> </th> |
25 |
<th> </th> |
Lines 85-101
Link Here
|
85 |
[%- SET prev_priority = loop.prev.priority -%] |
87 |
[%- SET prev_priority = loop.prev.priority -%] |
86 |
[%- SET next_priority = loop.next.priority -%] |
88 |
[%- SET next_priority = loop.next.priority -%] |
87 |
<td style="white-space:nowrap;"> |
89 |
<td style="white-space:nowrap;"> |
88 |
<a title="Move hold up" href="request.pl?action=move&where=up&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
90 |
<a class="hold-arrow" title="Move hold up" href="request.pl?action=move&where=up&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
89 |
<img src="[% interface | html %]/[% theme | html %]/img/go-up.png" alt="Go up" /> |
91 |
<i class="fa fa-lg fa-arrow-up" aria-label="Move hold up"></i> |
90 |
</a> |
92 |
</a> |
91 |
<a title="Move hold to top" href="request.pl?action=move&where=top&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
93 |
|
92 |
<img src="[% interface | html %]/[% theme | html %]/img/go-top.png" alt="Go top" /> |
94 |
<a class="hold-arrow" title="Move hold to top" href="request.pl?action=move&where=top&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
|
|
95 |
<i class="fa fa-lg fa-arrow-up top" aria-label="Move hold to top"></i> |
93 |
</a> |
96 |
</a> |
94 |
<a title="Move hold to bottom" href="request.pl?action=move&where=bottom&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
97 |
|
95 |
<img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Go bottom" /> |
98 |
<a class="hold-arrow" title="Move hold to bottom" href="request.pl?action=move&where=bottom&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
|
|
99 |
<i class="fa fa-lg fa-arrow-down bottom" aria-label="Move hold to bottom"></i> |
96 |
</a> |
100 |
</a> |
97 |
<a title="Move hold down" href="request.pl?action=move&where=down&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
101 |
|
98 |
<img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Go down" /> |
102 |
<a class="hold-arrow" title="Move hold down" href="request.pl?action=move&where=down&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
|
|
103 |
<i class="fa fa-lg fa-arrow-down" aria-label="Move hold down"></i> |
99 |
</a> |
104 |
</a> |
100 |
</td> |
105 |
</td> |
101 |
[%- ELSE -%] |
106 |
[%- ELSE -%] |
Lines 181-192
Link Here
|
181 |
[%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] |
186 |
[%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] |
182 |
[%- UNLESS hold.found -%] |
187 |
[%- UNLESS hold.found -%] |
183 |
<td> |
188 |
<td> |
184 |
<a title="Toggle lowest priority" href="request.pl?action=setLowestPriority&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
189 |
<a class="hold-arrow" title="Toggle lowest priority" href="request.pl?action=setLowestPriority&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
185 |
[%- IF ( hold.lowestPriority ) -%] |
190 |
[% IF ( hold.lowestPriority ) %] |
186 |
<img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Unset lowest priority" /> |
191 |
<i class="fa fa-lg fa-rotate-90 fa-forward" aria-label="Move hold down"></i> |
187 |
[%- ELSE -%] |
192 |
[% ELSE %] |
188 |
<img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Set to lowest priority" /> |
193 |
<i class="fa fa-lg fa-rotate-90 fa-fast-forward" aria-label="Move hold to bottom"></i> |
189 |
[%- END -%] |
194 |
[% END %] |
190 |
</a> |
195 |
</a> |
191 |
</td> |
196 |
</td> |
192 |
[%- ELSE -%] |
197 |
[%- ELSE -%] |
Lines 194-201
Link Here
|
194 |
[%- END -%] |
199 |
[%- END -%] |
195 |
[%- END -%] |
200 |
[%- END -%] |
196 |
<td> |
201 |
<td> |
197 |
<a class="btn btn-default btn-xs cancel-hold" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-id="[% hold.reserve_id | html %]" href="request.pl?action=cancel&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
202 |
<a class="cancel-hold" title="Cancel hold" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-id="[% hold.reserve_id | html %]" href="request.pl?action=cancel&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
198 |
<i class="fa fa-trash" aria-hidden="true"></i> Cancel |
203 |
<i class="fa fa-trash" aria-label="Cancel hold"></i> |
199 |
</a> |
204 |
</a> |
200 |
</td> |
205 |
</td> |
201 |
<td> |
206 |
<td> |