mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
add 'group settings'
This commit is contained in:
@@ -26,6 +26,7 @@ define([
|
||||
'group/:group_id/': 'showGroupRepos',
|
||||
'group/:group_id/lib/:repo_id(/*path)': 'showGroupRepoDir',
|
||||
'group/:group_id/members/': 'showGroupMembers',
|
||||
'group/:group_id/settings/': 'showGroupSettings',
|
||||
'org/': 'showOrgRepos',
|
||||
'org/lib/:repo_id(/*path)': 'showOrgRepoDir',
|
||||
'common/lib/:repo_id(/*path)': 'showCommonDir',
|
||||
@@ -184,6 +185,11 @@ define([
|
||||
this.groupView.showMembers();
|
||||
},
|
||||
|
||||
showGroupSettings: function(group_id) {
|
||||
this.showGroupRepos(group_id);
|
||||
this.groupView.showSettings();
|
||||
},
|
||||
|
||||
showOrgRepos: function() {
|
||||
this.switchCurrentView(this.orgView);
|
||||
this.orgView.showRepoList();
|
||||
|
Reference in New Issue
Block a user