From 1d914386d4c6595e0489bfba23d6304f51ecd88d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 20 Dec 2019 11:29:39 +0000 Subject: [PATCH] Bug 24283: (bug 21446 follow-up) close strong and add missing parens To Test: 1) Create a course in course reserves, make it inactive 2) Add an item to it, changing item type and location 3) Make the course enabled 4) Note that the normal item type is no longer bold and has both opening and closing parentheses; Note that the normal location is also not bold and has both opening and closing parentheses. 5) Disable the course 6) Note that the normal item type is in bold with an opening parentheses but no closing parentheses; Note that the normal location is in bold with both opening and closing parentheses. 7) Apply patch 8) Note view is fixed Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit c0c8128e6854c230677d67ea5c4bed0dcd212b5f) Signed-off-by: Lucas Gass --- .../prog/en/modules/course_reserves/course-details.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt index da85643c23..0899636a5e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt @@ -110,7 +110,7 @@ [% ELSE %] [% ItemTypes.GetDescription( cr.course_item.itype ) | html %] [% IF cr.item.itype %] - ([% ItemTypes.GetDescription( cr.item.itype) | html %] + ([% ItemTypes.GetDescription( cr.item.itype) | html %]) [% END %] [% END %] [% ELSE %] -- 2.39.2