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

Return to bug 20256