MOODLE2: If the course does not have grades avalaible the grades icon is hidden