From abbd2243a736557e5f8f0540ef16ab99c315bc80 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 18 Apr 2023 17:07:03 +0000 Subject: [PATCH] Bug 33549: Fix dialog box in patron restrictions To test: 1. Enable PatronRestrictionTypes 2. Go to Administration > Patron restrictions 3. Click 'New restriction' 4. Enter a code and label 5. Click 'Save' --> 'Type added' at the top of the page is not styled 6. Apply patch 7. Try again, dialog is styled correctly Signed-off-by: Sally Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 28735b8ff31536febee4315407ce46a3ff063268) Signed-off-by: Jacob O'Mara --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt index 5651eac1d3..e4a1ccea45 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -57,7 +57,7 @@
[% FOR m IN messages %] -
+
[% SWITCH m.code %] [% CASE 'add_success' %] Type added -- 2.39.5