mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule } from '@angular/router';
|
|
import { EPeopleRegistryComponent } from './epeople-registry/epeople-registry.component';
|
|
import { GroupFormComponent } from './group-registry/group-form/group-form.component';
|
|
import { GroupsRegistryComponent } from './group-registry/groups-registry.component';
|
|
import { GROUP_EDIT_PATH } from './admin-access-control-routing-paths';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forChild([
|
|
{ path: 'epeople', component: EPeopleRegistryComponent, data: { title: 'admin.access-control.epeople.title' } },
|
|
{ path: GROUP_EDIT_PATH, component: GroupsRegistryComponent, data: { title: 'admin.access-control.groups.title' } },
|
|
{
|
|
path: `${GROUP_EDIT_PATH}/:groupId`,
|
|
component: GroupFormComponent,
|
|
data: {title: 'admin.registries.schema.title'}
|
|
},
|
|
{
|
|
path: `${GROUP_EDIT_PATH}/newGroup`,
|
|
component: GroupFormComponent,
|
|
data: {title: 'admin.registries.schema.title'}
|
|
},
|
|
])
|
|
]
|
|
})
|
|
/**
|
|
* Routing module for the AccessControl section of the admin sidebar
|
|
*/
|
|
export class AdminAccessControlRoutingModule {
|
|
|
|
}
|