mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
sysadmin reconstruct groups page (#4036)
* sysadmin reconstruct groups page * [system admin] groups: fixup & improvement * [system admin] groups: fixup & improvement
This commit is contained in:
@@ -16,6 +16,10 @@ import SystemRepo from './repos/system-repo';
|
||||
import TrashRepos from './repos/trash-repos';
|
||||
import DirView from './repos/dir-view';
|
||||
|
||||
import Groups from './groups/groups';
|
||||
import GroupRepos from './groups/group-repos';
|
||||
import GroupMembers from './groups/group-members';
|
||||
|
||||
import WebSettings from './web-settings/web-settings';
|
||||
import Notifications from './notifications/notifications';
|
||||
import FileScanRecords from './file-scan-records';
|
||||
@@ -49,6 +53,10 @@ class SysAdmin extends React.Component {
|
||||
tab: 'libraries',
|
||||
urlPartList: ['all-libraries', 'system-library', 'trash-libraries', 'libraries/']
|
||||
},
|
||||
{
|
||||
tab: 'groups',
|
||||
urlPartList: ['groups/']
|
||||
},
|
||||
];
|
||||
const tmpTab = this.getCurrentTabForPageList(pageList);
|
||||
currentTab = tmpTab ? tmpTab : currentTab;
|
||||
@@ -101,6 +109,9 @@ class SysAdmin extends React.Component {
|
||||
<DirView path={siteRoot + 'sys/libraries/:repoID/*'} />
|
||||
<WebSettings path={siteRoot + 'sys/web-settings'} />
|
||||
<Notifications path={siteRoot + 'sys/notifications'} />
|
||||
<Groups path={siteRoot + 'sys/groups'} />
|
||||
<GroupRepos path={siteRoot + 'sys/groups/:groupID/libraries'} />
|
||||
<GroupMembers path={siteRoot + 'sys/groups/:groupID/members'} />
|
||||
<FileScanRecords
|
||||
path={siteRoot + 'sys/file-scan-records'}
|
||||
currentTab={currentTab}
|
||||
|
Reference in New Issue
Block a user