description:gettext("Course teams are organized into topics created by course instructors. Try to join others in an existing team before you decide to create a new team!"),
description:gettext("See all teams in your course, organized by topic. Join a team to collaborate with other learners who are interested in the same topic as you are."),
title:gettext("Teams")
})
}]
}),
main:newTabbedView({
tabs:[{
title:gettext('My Teams'),
url:'teams',
view:newTempTabView({text:'This is the new Teams tab.'})
},{
title:gettext('Browse'),
url:'browse',
view:newTopicsView({
collection:this.topicsCollection,
router:this.router
})
}],
router:this.router
})
});
Backbone.history.start();
},
render:function(){
this.$el.append(this.headerView.$el);
this.headerView.render();
this.$el.append(this.tabbedView.$el);
this.tabbedView.render();
this.mainView.setElement(this.$el).render();
this.hideWarning();
returnthis;
},
/**
* Render the list of teams for the given topic ID.