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