mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
Add group discussion
This commit is contained in:
@@ -24,6 +24,7 @@ define([
|
||||
'group/:group_id/': 'showGroupRepos',
|
||||
'group/:group_id/lib/:repo_id(/*path)': 'showGroupRepoDir',
|
||||
'group/:group_id/members/': 'showGroupMembers',
|
||||
'group/:group_id/discussions/': 'showGroupDiscussions',
|
||||
'org/': 'showOrgRepos',
|
||||
'org/lib/:repo_id(/*path)': 'showOrgRepoDir',
|
||||
'common/lib/:repo_id(/*path)': 'showCommonDir',
|
||||
@@ -180,6 +181,11 @@ define([
|
||||
this.groupView.showMembers();
|
||||
},
|
||||
|
||||
showGroupDiscussions: function(group_id) {
|
||||
this.showGroupRepos(group_id);
|
||||
this.groupView.showDiscussions();
|
||||
},
|
||||
|
||||
showOrgRepos: function() {
|
||||
this.switchCurrentView(this.orgView);
|
||||
this.orgView.showRepoList();
|
||||
|
Reference in New Issue
Block a user