View | Details | Raw Unified | Return to bug 20256
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-9 / +8 lines)
Lines 276-293 Link Here
276
                            </td>
276
                            </td>
277
277
278
                            [% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %]
278
                            [% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %]
279
                                [% IF user.can_edit_item( cr.item ) %]
279
                                <td class="actions">
280
                                    <td class="actions">
280
                                    [% IF user.can_edit_item( cr.item ) %]
281
                                        [% IF CAN_user_coursereserves_add_reserves %]
281
                                        [% IF CAN_user_coursereserves_add_reserves %]
282
                                            <a class="btn btn-default btn-xs" href="add_items.pl?course_id=[% course.course_id | html %]&amp;itemnumber=[% cr.item.itemnumber | html %]&amp;action=lookup&amp;return=[% course.course_id | html %]&amp;is_edit=1"><i class="fa fa-pencil"></i> Edit</a>
282
                                            <a class="btn btn-default btn-xs" href="add_items.pl?course_id=[% course.course_id | html %]&amp;itemnumber=[% cr.item.itemnumber | html %]&amp;action=lookup&amp;return=[% course.course_id | html %]&amp;is_edit=1"><i class="fa fa-pencil"></i> Edit</a>
283
                                        [% END %]
283
                                        [% END %]
284
                                    [% END %]
284
285
285
                                        [% IF CAN_user_coursereserves_delete_reserves %]
286
                                    [% IF CAN_user_coursereserves_delete_reserves %]
286
                                            <a class="btn btn-default btn-xs delete_item" href="course-details.pl?course_id=[% course.course_id | html %]&amp;action=del_reserve&amp;cr_id=[% cr.cr_id | html %]">
287
                                        <a class="btn btn-default btn-xs delete_item" href="course-details.pl?course_id=[% course.course_id | html %]&amp;action=del_reserve&amp;cr_id=[% cr.cr_id | html %]">
287
                                            <i class="fa fa-trash"></i> Remove</a>
288
                                        <i class="fa fa-trash"></i> Remove</a>
288
                                        [% END %]
289
                                    [% END %]
289
                                    </td>
290
                                </td>
290
                                [% END %]
291
                            [% END %]
291
                            [% END %]
292
292
293
                        </tr>
293
                        </tr>
294
- 

Return to bug 20256