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!"),
view:newTempTabView({text:'This is the new Teams tab.'})
this.mainView=this.tabbedView=newViewWithHeader({
},{
header:newHeaderView({
title:gettext('Browse'),
model:newHeaderModel({
url:'browse',
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."),
view:newTopicsView({
title:gettext("Teams")
collection:options.topicCollection
})
})
}]
}),
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(){
render:function(){
this.$el.append(this.headerView.$el);
this.mainView.setElement(this.$el).render();
this.headerView.render();
this.hideWarning();
this.$el.append(this.tabbedView.$el);
returnthis;
this.tabbedView.render();
},
/**
* Render the list of teams for the given topic ID.