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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user