Lines 276-293
Link Here
|
276 |
</td> |
276 |
</td> |
277 |
|
277 |
|
278 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
278 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
279 |
[% IF user.can_edit_item( cr.item ) %] |
279 |
<td class="actions"> |
280 |
<td class="actions"> |
280 |
[% IF user.can_edit_item( cr.item ) %] |
281 |
[% IF CAN_user_coursereserves_add_reserves %] |
281 |
[% IF CAN_user_coursereserves_add_reserves %] |
282 |
<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 |
<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> |
283 |
[% END %] |
283 |
[% END %] |
|
|
284 |
[% END %] |
284 |
|
285 |
|
285 |
[% IF CAN_user_coursereserves_delete_reserves %] |
286 |
[% IF CAN_user_coursereserves_delete_reserves %] |
286 |
<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 %]"> |
287 |
<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 %]"> |
287 |
<i class="fa fa-trash"></i> Remove</a> |
288 |
<i class="fa fa-trash"></i> Remove</a> |
288 |
[% END %] |
289 |
[% END %] |
289 |
</td> |
290 |
</td> |
290 |
[% END %] |
|
|
291 |
[% END %] |
291 |
[% END %] |
292 |
|
292 |
|
293 |
</tr> |
293 |
</tr> |
294 |
- |
|
|