'Returns html required for rendering XModule.'

def get_html(self):

    if (self.data != ''):
        if self.system.anonymous_student_id:
            return self.data.replace('%%USER_ID%%', self.system.anonymous_student_id)
        return self.data
    else:
        course_updates = self.order_updates(self.items)
        context = {'visible_updates': course_updates[:3], 'hidden_updates': course_updates[3:]}
        return self.system.render_template('{0}/course_updates.html'.format(self.TEMPLATE_DIR), context)
