1
0
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:
Daniel Pan
2016-03-08 13:36:58 +08:00
committed by llj
parent 3b70297b13
commit 4aa500203d
14 changed files with 355 additions and 17 deletions

View File

@@ -42,6 +42,7 @@ require.config({
jstree: 'lib/jstree.1.0',
select2: 'lib/select2-3.5.2',
moment: 'lib/moment-with-locales',
marked: 'lib/marked.min',
underscore: 'lib/underscore',
backbone: 'lib/backbone',
@@ -136,6 +137,8 @@ define([
case 'group_import_members': return siteRoot + 'ajax/group/' + options.group_id + '/members/import/';
case 'group_repos': return siteRoot + 'api2/groups/' + options.group_id + '/repos/';
case 'toggle_group_modules': return siteRoot + 'ajax/group/' + options.group_id + '/toggle-modules/';
case 'group_discussions': return siteRoot + 'api2/groups/' + options.group_id + '/discussions/';
case 'group_discussion': return siteRoot + 'api2/groups/' + options.group_id + '/discussions/' + options.discussion_id + '/';
// Misc
case 'thumbnail_create': return siteRoot + 'thumbnail/' + options.repo_id + '/create/';