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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-5 / +1 lines)
Lines 209-218 Link Here
209
            });
209
            });
210
210
211
            $("#delete_course").click(function(){
211
            $("#delete_course").click(function(){
212
                [% SET count = course_reserves.size %]
212
                [% SET count = course_reserves.size || 0 %]
213
                [% UNLESS count %]
214
                    [% count = 0 %]
215
                [% END %]
216
                [% IF count == 1 %]
213
                [% IF count == 1 %]
217
                    return confirmDelete(_("Are you sure you want to delete this course? There is [% count %] attached item.") );
214
                    return confirmDelete(_("Are you sure you want to delete this course? There is [% count %] attached item.") );
218
                [% ELSIF count > 1 %]
215
                [% ELSIF count > 1 %]
219
- 

Return to bug 19230