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