Lines 275-290
Link Here
|
275 |
</td> |
275 |
</td> |
276 |
|
276 |
|
277 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
277 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
278 |
<td class="actions"> |
278 |
[% IF user.can_edit_item( cr.item ) %] |
279 |
[% IF CAN_user_coursereserves_add_reserves %] |
279 |
<td class="actions"> |
280 |
<a class="btn btn-default btn-xs" href="add_items.pl?course_id=[% course.course_id | html %]&itemnumber=[% cr.item.itemnumber | html %]&biblionumber=[% cr.biblio.biblionumber | html %]&action=lookup&return=[% course.course_id | html %]&is_edit=1"><i class="fa fa-pencil"></i> Edit</a> |
280 |
[% IF CAN_user_coursereserves_add_reserves %] |
281 |
[% END %] |
281 |
<a class="btn btn-default btn-xs" href="add_items.pl?course_id=[% course.course_id | html %]&itemnumber=[% cr.item.itemnumber | html %]&action=lookup&return=[% course.course_id | html %]&is_edit=1"><i class="fa fa-pencil"></i> Edit</a> |
|
|
282 |
[% END %] |
282 |
|
283 |
|
283 |
[% IF CAN_user_coursereserves_delete_reserves %] |
284 |
[% IF CAN_user_coursereserves_delete_reserves %] |
284 |
<a class="btn btn-default btn-xs delete_item" href="course-details.pl?course_id=[% course.course_id | html %]&action=del_reserve&cr_id=[% cr.cr_id | html %]"> |
285 |
<a class="btn btn-default btn-xs delete_item" href="course-details.pl?course_id=[% course.course_id | html %]&action=del_reserve&cr_id=[% cr.cr_id | html %]"> |
285 |
<i class="fa fa-trash"></i> Remove</a> |
286 |
<i class="fa fa-trash"></i> Remove</a> |
286 |
[% END %] |
287 |
[% END %] |
287 |
</td> |
288 |
</td> |
|
|
289 |
[% END %] |
288 |
[% END %] |
290 |
[% END %] |
289 |
|
291 |
|
290 |
</tr> |
292 |
</tr> |
291 |
- |
|
|