Bug 21565: (follow-up) Make confirmation buttons more detailed
authorOwen Leonard <oleonard@myacpl.org>
Wed, 29 Apr 2020 17:57:44 +0000 (17:57 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 15 May 2020 17:56:11 +0000 (17:56 +0000)
commitc8aaa47e828dce6a9632dac671899aadff5a640d
tree677c26724244ea16933667cbd9e7f826efebd44a
parent0283892d44189b9339f8e4eb230d936d329c9ee8
Bug 21565: (follow-up) Make confirmation buttons more detailed

This patch updates the confirmation buttons to be more specific about
what each one does. My concern was that it wasn't clear that "No" meant
"No receipt" and not "Cancel logging out."

The patch also updates the modal confirmation code so that the modal
body is removed if no message is passed for it.

To test, apply the patch and repeat the previous test plan. When you
click "Finish" you should have the options "Print receipt and end
session" and "End session."

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit e4e31117e7dcdc769f6c94553165202c49c7e0ae)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
koha-tmpl/opac-tmpl/bootstrap/js/global.js