Lines 295-310
Link Here
|
295 |
</td> |
295 |
</td> |
296 |
|
296 |
|
297 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
297 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
298 |
<td class="actions"> |
298 |
[% IF user.can_edit_item( cr.item ) %] |
299 |
[% IF CAN_user_coursereserves_add_reserves %] |
299 |
<td class="actions"> |
300 |
<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> |
300 |
[% IF CAN_user_coursereserves_add_reserves %] |
301 |
[% END %] |
301 |
<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> |
|
|
302 |
[% END %] |
302 |
|
303 |
|
303 |
[% IF CAN_user_coursereserves_delete_reserves %] |
304 |
[% IF CAN_user_coursereserves_delete_reserves %] |
304 |
<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 %]"> |
305 |
<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 %]"> |
305 |
<i class="fa fa-trash"></i> Remove</a> |
306 |
<i class="fa fa-trash"></i> Remove</a> |
306 |
[% END %] |
307 |
[% END %] |
307 |
</td> |
308 |
</td> |
|
|
309 |
[% END %] |
308 |
[% END %] |
310 |
[% END %] |
309 |
|
311 |
|
310 |
</tr> |
312 |
</tr> |
311 |
- |
|
|