Display icons to add course and course catalog - refs #7210

Solve the bug when displaying icons in block courses
Ref Bug#7210