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)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 11 May 2020 16:47:08 +0000 (16:47 +0000)
commite4e31117e7dcdc769f6c94553165202c49c7e0ae
tree84ddea2c084cb5cc74a3c636313c998cf9cce2bc
parentb325831210dacbb0857f843670eb26b0c5268e6d
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
koha-tmpl/opac-tmpl/bootstrap/js/global.js