]> git.koha-community.org Git - koha.git/commit
Bug 19231: Add number of attached items to confirm message when deleting course
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 31 Aug 2017 22:02:05 +0000 (22:02 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Oct 2017 19:05:55 +0000 (16:05 -0300)
commiteba92195b6fef397918eb9b94a7782ecbf3878df
tree861ac030d0584f8d24517613e9a8f0b5836ec2b0
parent3fe241f6100bd7ffc967fcc8e76659e9d861750b
Bug 19231: Add number of attached items to confirm message when deleting course

To test:
1) Ensure UseCourseReserves is enabled
2) Go to Course Reserves and create 3 new courses
3) Add one item to a course, add two items to another course, and add no
items to the third course
4) Delete the course with no items. Confirm the error message shows up.
No need to say how many attached items there are here (because there are
none).
5) Delete the course with one item. Confirm the error message shows and
warns of the one attached item and makes grammatical sense
6) Delete the course with two items. Confirm the error message shows and
shows the correct number of attached items and makes grammatical sense
7) Confirm clicking 'Cancel' and 'OK' does what is expected

Sponsored-by: Catalyst IT
Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Looks good!

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
course_reserves/course-details.pl
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt