|
|
@ -455,10 +455,16 @@ define([
|
|
|
|
created++;
|
|
|
|
created++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (team.empty) {
|
|
|
|
if (team.empty) {
|
|
|
|
list.push(h('div.cp-team-list-team.empty'+createCls, [
|
|
|
|
var createTeamDiv = h('div.cp-team-list-team.empty'+createCls, [
|
|
|
|
h('span.cp-team-list-name.empty', Messages.team_listSlot),
|
|
|
|
h('span.cp-team-list-name.empty', Messages.team_listSlot),
|
|
|
|
createBtn
|
|
|
|
createBtn
|
|
|
|
]));
|
|
|
|
]);
|
|
|
|
|
|
|
|
list.push(createTeamDiv);
|
|
|
|
|
|
|
|
if (createCls) {
|
|
|
|
|
|
|
|
$(createTeamDiv).click(function () {
|
|
|
|
|
|
|
|
$('div.cp-team-cat-create').click();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var avatar = h('span.cp-avatar');
|
|
|
|
var avatar = h('span.cp-avatar');
|
|
|
|