diff --git a/portal-2/src/app/app-routing.module.ts b/portal-2/src/app/app-routing.module.ts index cf75438a..6c6997d2 100644 --- a/portal-2/src/app/app-routing.module.ts +++ b/portal-2/src/app/app-routing.module.ts @@ -106,7 +106,7 @@ export function gethtmlProjectReportModule() { return System.import('./landingPages/htmlProjectReport/htmlProjectReport.module' + (process.env.AOT ? '.ngfactory' : '')) .then(mod => mod[(process.env.AOT ? 'HtmlProjectReportModuleNgFactory' : 'HtmlProjectReportModule')]); } -/*export function getMyClaimsModule() { +export function getMyClaimsModule() { return System.import('./claims/myClaims/myClaims.module' + (process.env.AOT ? '.ngfactory' : '')) .then(mod => mod[(process.env.AOT ? 'MyClaimsModuleNgFactory' : 'MyClaimsModule')]); } @@ -122,7 +122,11 @@ export function getLinkingModule() { export function getBulkLinkingModule() { return System.import('./claims/linking/bulkLinking.module' + (process.env.AOT ? '.ngfactory' : '')) .then(mod => mod[(process.env.AOT ? 'BulkLinkingModuleNgFactory' : 'BulkLinkingModule')]); -}*/ +} +export function getDirectLinkingModule() { + return System.import('./claims/directLinking/directLinking.module' + (process.env.AOT ? '.ngfactory' : '')) + .then(mod => mod[(process.env.AOT ? 'DirectLinkingModuleNgFactory' : 'DirectLinkingModule')]); +} @NgModule({ imports: [ RouterModule.forChild([ @@ -164,10 +168,11 @@ export function getBulkLinkingModule() { { path: 'search/advanced/projects', loadChildren: getAdvancedSearchProjectsModule }, { path: 'search/advanced/people', loadChildren: getAdvancedSearchPeopleModule }, { path: 'project-report', loadChildren: gethtmlProjectReportModule }, - // { path: 'myclaims', loadChildren: getMyClaimsModule }, - // { path: 'claims', loadChildren: getClaimsAdminModule }, - // { path: 'participate/bulk-claim', loadChildren: getBulkLinkingModule }, - // { path: 'participate/claim', loadChildren: getLinkingModule }, + /*{ path: 'myclaims', loadChildren: getMyClaimsModule }, + { path: 'claims', loadChildren: getClaimsAdminModule }, + { path: 'participate/bulk-claim', loadChildren: getBulkLinkingModule }, + { path: 'participate/claim', loadChildren: getLinkingModule }, + { path: 'participate/direct-claim', loadChildren: getDirectLinkingModule },*/ ]) ], }) diff --git a/portal-2/src/app/claims/claim-utils/claimContext.component.ts b/portal-2/src/app/claims/claim-utils/claimContextSearchForm.component.ts similarity index 53% rename from portal-2/src/app/claims/claim-utils/claimContext.component.ts rename to portal-2/src/app/claims/claim-utils/claimContextSearchForm.component.ts index 7bbdb837..75deaf7e 100644 --- a/portal-2/src/app/claims/claim-utils/claimContext.component.ts +++ b/portal-2/src/app/claims/claim-utils/claimContextSearchForm.component.ts @@ -7,87 +7,43 @@ declare var UIkit:any; @Component({ // moduleId: module.id, - selector: 'claim-contexts', + selector: 'claim-contexts-search-form', template: ` -
TODO software
Link your research result with funded projects.
Link your research result with research communities.
Link Research Results to projects,contects, etc, providing a CSV file with research results' DOIs
Link Research Results to projects & communities, providing a CSV file with research results' DOIs
Search for Research Results and link them to projects & communities