From ba50366d3bd0ce47726bd2285dbe273a2f46ee18 Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Thu, 10 Apr 2025 13:27:28 +0000 Subject: [PATCH] Bug 39597: Fix cancel_hold_alert badge color contrast for accesibilty This patch add a class for the background 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 Signed-off-by: Phil Ringnalda Signed-off-by: Lucas Gass --- 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 c7783e21971..9884d6c9caa 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