'Reverse and Rename Courseware to Course and Course Info to Home Tabs.'

@classmethod
def upgrade_tabs(cls, tabs):

    if (tabs and (len(tabs) > 1)):
        if ((tabs[0].get('type') == 'courseware') and (tabs[1].get('type') == 'course_info')):
            (tabs[0], tabs[1]) = (tabs[1], tabs[0])
            tabs[0]['name'] = _('Home')
            tabs[1]['name'] = _('Course')
    return tabs
