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 <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-12-20 11:29:39 +00:00 committed by Joy Nelson
parent bfa74fa8fc
commit c0c8128e68
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@
[% ELSE %]
[% ItemTypes.GetDescription( cr.course_item.itype ) | html %]
[% IF cr.item.itype %]
(<strong>[% ItemTypes.GetDescription( cr.item.itype) | html %]
(<strong>[% ItemTypes.GetDescription( cr.item.itype) | html %]</strong>)
[% END %]
[% END %]
[% ELSE %]