]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 May 2020 07:47:18 +0000 (08:47 +0100)
commit569f3915d7212f580b7a5bf6c7767c6374c279dd
tree72b05a05757b56639fd4049ec99362791eb191b9
parent4317229ae9096453ece8464d09375488ff322e21
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