MDL-43211 course: do not return indent icon if not needed
MDL-43211 blocks: style edit icons in main menu and social activities