From 3d662f087772d3d71c56a237aa8c7e111e6808fd 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 --- .../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 8fc19da003..5b45fc9b5f 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.5