1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

[group members] redesigned it

This commit is contained in:
llj
2015-12-11 20:41:16 +08:00
parent 4c3e5ab067
commit 03d075a00b
14 changed files with 284 additions and 120 deletions

View File

@@ -25,6 +25,7 @@ define([
'groups/': 'showGroups',
'group/:group_id/': 'showGroupRepos',
'group/:group_id/lib/:repo_id(/*path)': 'showGroupRepoDir',
'group/:group_id/members/': 'showGroupMembers',
'org/': 'showOrgRepos',
'org/lib/:repo_id(/*path)': 'showOrgRepoDir',
'common/lib/:repo_id(/*path)': 'showCommonDir',
@@ -178,6 +179,11 @@ define([
});
},
showGroupMembers: function(group_id) {
this.showGroupRepos(group_id);
this.groupView.showMembers();
},
showOrgRepos: function() {
this.switchCurrentView(this.orgView);
this.orgView.showRepoList();