Lines 262-277
Link Here
|
262 |
</td> |
262 |
</td> |
263 |
|
263 |
|
264 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
264 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
265 |
<td class="actions"> |
265 |
[% IF user.can_edit_item( cr.item ) %] |
266 |
[% IF CAN_user_coursereserves_add_reserves %] |
266 |
<td class="actions"> |
267 |
<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> |
267 |
[% IF CAN_user_coursereserves_add_reserves %] |
268 |
[% END %] |
268 |
<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> |
|
|
269 |
[% END %] |
269 |
|
270 |
|
270 |
[% IF CAN_user_coursereserves_delete_reserves %] |
271 |
[% IF CAN_user_coursereserves_delete_reserves %] |
271 |
<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 %]"> |
272 |
<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 %]"> |
272 |
<i class="fa fa-trash"></i> Remove</a> |
273 |
<i class="fa fa-trash"></i> Remove</a> |
273 |
[% END %] |
274 |
[% END %] |
274 |
</td> |
275 |
</td> |
|
|
276 |
[% END %] |
275 |
[% END %] |
277 |
[% END %] |
276 |
|
278 |
|
277 |
</tr> |
279 |
</tr> |
278 |
- |
|
|