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

[system admin] groups: added 'search groups' (#4246)

This commit is contained in:
llj
2019-11-12 18:22:39 +08:00
committed by Daniel Pan
parent a6c36c24c3
commit d1dca7d13e
5 changed files with 394 additions and 215 deletions

View File

@@ -29,6 +29,7 @@ import SearchRepos from './repos/search-repos';
import DirView from './repos/dir-view';
import Groups from './groups/groups';
import SearchGroups from './groups/search-groups';
import GroupRepos from './groups/group-repos';
import GroupMembers from './groups/group-members';
@@ -100,7 +101,7 @@ class SysAdmin extends React.Component {
},
{
tab: 'groups',
urlPartList: ['groups/']
urlPartList: ['groups/', 'search-groups/']
},
{
tab: 'organizations',
@@ -160,6 +161,7 @@ class SysAdmin extends React.Component {
<WebSettings path={siteRoot + 'sys/web-settings'} />
<Notifications path={siteRoot + 'sys/notifications'} />
<Groups path={siteRoot + 'sys/groups'} />
<SearchGroups path={siteRoot + 'sys/search-groups'} />
<GroupRepos path={siteRoot + 'sys/groups/:groupID/libraries'} />
<GroupMembers path={siteRoot + 'sys/groups/:groupID/members'} />
<Departments path={siteRoot + 'sys/departments'}>