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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-3 / +2 lines)
Lines 211-219 Link Here
211
            $("#delete_course").click(function(){
211
            $("#delete_course").click(function(){
212
                [% SET count = course_reserves.size || 0 %]
212
                [% SET count = course_reserves.size || 0 %]
213
                [% IF count == 1 %]
213
                [% IF count == 1 %]
214
                    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 %s attached item.").format([% count %]) );
215
                [% ELSIF count > 1 %]
215
                [% ELSIF count > 1 %]
216
                    return confirmDelete(_("Are you sure you want to delete this course? There are [% count %] attached items.") );
216
                    return confirmDelete(_("Are you sure you want to delete this course? There are %s attached items.").format([% count %]) );
217
                [% ELSE %]
217
                [% ELSE %]
218
                    return confirmDelete(_("Are you sure you want to delete this course?"));
218
                    return confirmDelete(_("Are you sure you want to delete this course?"));
219
                [% END %]
219
                [% END %]
220
- 

Return to bug 20166