Lines 248-263
Link Here
|
248 |
</td> |
248 |
</td> |
249 |
|
249 |
|
250 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
250 |
[% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] |
251 |
<td class="actions"> |
251 |
[% IF user.can_edit_item( cr.item ) %] |
252 |
[% IF CAN_user_coursereserves_add_reserves %] |
252 |
<td class="actions"> |
253 |
<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> |
253 |
[% IF CAN_user_coursereserves_add_reserves %] |
254 |
[% END %] |
254 |
<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> |
|
|
255 |
[% END %] |
255 |
|
256 |
|
256 |
[% IF CAN_user_coursereserves_delete_reserves %] |
257 |
[% IF CAN_user_coursereserves_delete_reserves %] |
257 |
<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 %]"> |
258 |
<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 %]"> |
258 |
<i class="fa fa-trash"></i> Remove</a> |
259 |
<i class="fa fa-trash"></i> Remove</a> |
259 |
[% END %] |
260 |
[% END %] |
260 |
</td> |
261 |
</td> |
|
|
262 |
[% END %] |
261 |
[% END %] |
263 |
[% END %] |
262 |
|
264 |
|
263 |
</tr> |
265 |
</tr> |
264 |
- |
|
|