From 4012e57f0e6ab31c13414021ab914c9c6b721e7d Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Wed, 9 Apr 2025 20:36:36 +0000 Subject: [PATCH] Bug 39597: Fix cancel_hold_alert badge color contrast for accesibilty This patch updates the classes on the badge element to fix color contrast To test: 1. Go to a bib record and place multiple holds on it 2. Select multiple holds and click 'Cancel selected (4)' 3. The Alert says 'This action will cancel 4 hold(s).' 4. Note that the contrast on the number of holds is very low 5. Click 'Cancel' apply patch and restart_all 6. Repeat steps 2-3 7. Note that the contrast on the number of holds is good --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 558b5e0d9f..8d648a398f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1467,7 +1467,7 @@ } var MSG_CANCEL_SELECTED = _("Cancel selected (%s)"); - var MSG_CANCEL_ALERT = _("This action will cancel %s hold(s)."); + var MSG_CANCEL_ALERT = _("This action will cancel %s hold(s)."); $.fn.select2.defaults.set("width", "100%" ); $.fn.select2.defaults.set("dropdownAutoWidth", true ); -- 2.39.5