Revision 46561
Added by Argiro Kokogiannaki about 7 years ago
app-routing.module.ts | ||
---|---|---|
116 | 116 |
.then(mod => mod[(process.env.AOT ? 'ClaimsAdminModuleNgFactory' : 'ClaimsAdminModule')]); |
117 | 117 |
} |
118 | 118 |
export function getLinkingModule() { |
119 |
return System.import('./claims/linking/linking.module' + (process.env.AOT ? '.ngfactory' : '')) |
|
120 |
.then(mod => mod[(process.env.AOT ? 'LinkingModuleNgFactory' : 'LinkingModule')]);
|
|
119 |
return System.import('./claims/linking/linkingGeneric.module' + (process.env.AOT ? '.ngfactory' : ''))
|
|
120 |
.then(mod => mod[(process.env.AOT ? 'LinkingGenericModuleNgFactory' : 'LinkingGenericModule')]);
|
|
121 | 121 |
} |
122 |
export function getBulkLinkingModule() { |
|
123 |
return System.import('./claims/linking/bulkLinking.module' + (process.env.AOT ? '.ngfactory' : '')) |
|
124 |
.then(mod => mod[(process.env.AOT ? 'BulkLinkingModuleNgFactory' : 'BulkLinkingModule')]); |
|
125 |
} |
|
122 |
// export function getBulkLinkingModule() {
|
|
123 |
// return System.import('./claims/linking/bulkLinking.module' + (process.env.AOT ? '.ngfactory' : ''))
|
|
124 |
// .then(mod => mod[(process.env.AOT ? 'BulkLinkingModuleNgFactory' : 'BulkLinkingModule')]);
|
|
125 |
// }
|
|
126 | 126 |
export function getDirectLinkingModule() { |
127 | 127 |
return System.import('./claims/directLinking/directLinking.module' + (process.env.AOT ? '.ngfactory' : '')) |
128 | 128 |
.then(mod => mod[(process.env.AOT ? 'DirectLinkingModuleNgFactory' : 'DirectLinkingModule')]); |
... | ... | |
168 | 168 |
{ path: 'search/advanced/projects', loadChildren: getAdvancedSearchProjectsModule }, |
169 | 169 |
{ path: 'search/advanced/people', loadChildren: getAdvancedSearchPeopleModule }, |
170 | 170 |
{ path: 'project-report', loadChildren: gethtmlProjectReportModule }, |
171 |
/*{ path: 'myclaims', loadChildren: getMyClaimsModule },
|
|
171 |
{ path: 'myclaims', loadChildren: getMyClaimsModule }, |
|
172 | 172 |
{ path: 'claims', loadChildren: getClaimsAdminModule }, |
173 |
{ path: 'participate/bulk-claim', loadChildren: getBulkLinkingModule }, |
|
173 |
// { path: 'participate/bulk-claim', loadChildren: getBulkLinkingModule },
|
|
174 | 174 |
{ path: 'participate/claim', loadChildren: getLinkingModule }, |
175 |
{ path: 'participate/direct-claim', loadChildren: getDirectLinkingModule },*/
|
|
175 |
{ path: 'participate/direct-claim', loadChildren: getDirectLinkingModule }, |
|
176 | 176 |
]) |
177 | 177 |
], |
178 | 178 |
}) |
Also available in: Unified diff
more layout changes for linking - simplify linking - easy switch between bulk and search mode