diff --git a/app.module.ts b/app.module.ts
index d76a6f30..0c1d822d 100755
--- a/app.module.ts
+++ b/app.module.ts
@@ -69,10 +69,24 @@ import {AdvancedSearchOrganizationsComponent} from './searchPages/advanced/advan
import {EntityRegistriesModule} from './searchPages/dataProviders/entityRegistries.module';
import {SearchEntityRegistriesComponent} from './searchPages/dataProviders/entityRegistries.component';
+import {EntityRegistriesTableModule} from './searchPages/dataProviders/entityRegistriesTable.module';
+import {SearchEntityRegistriesTableComponent} from './searchPages/dataProviders/entityRegistriesTable.component';
import {CompatibleDataProvidersModule} from './searchPages/dataProviders/compatibleDataProviders.module';
import {SearchCompatibleDataprovidersComponent} from './searchPages/dataProviders/compatibleDataProviders.component';
+import {ClaimsAdminModule} from './claims/claimsAdmin/claimsAdmin.module';
+import {ClaimsAdminComponent} from './claims/claimsAdmin/claimsAdmin.component';
+import {MyClaimsModule} from './claims/myClaims/myClaims.module';
+import {MyClaimsComponent} from './claims/myClaims/myClaims.component';
+import {ClaimsByTokenModule} from './claims/claimsByToken/claimsByToken.module';
+import {ClaimsByTokenComponent} from './claims/claimsByToken/claimsByToken.component';
+import {DirectLinkingModule} from './claims/directLinking/directLinking.module';
+import {DirectLinkingComponent} from './claims/directLinking/directLinking.component';
+import {LinkingGenericModule} from './claims/linking/linkingGeneric.module';
+import {LinkingGenericComponent} from './claims/linking/linkingGeneric.component';
+
+
@NgModule({
imports: [
@@ -88,7 +102,8 @@ import {SearchCompatibleDataprovidersComponent} from './searchPages/dataProvider
SearchPublicationsModule,SearchDatasetsModule, SearchSoftwareModule, SearchDataProvidersModule, SearchProjectsModule, SearchOrganizationsModule,
AdvancedSearchPublicationsModule,AdvancedSearchDatasetsModule, AdvancedSearchSoftwareModule, AdvancedSearchDataProvidersModule, AdvancedSearchProjectsModule, AdvancedSearchOrganizationsModule,
PublicationModule, DatasetModule, DataProviderModule, OrganizationModule, ProjectModule, SoftwareModule,
- EntityRegistriesModule,CompatibleDataProvidersModule,
+ EntityRegistriesModule, EntityRegistriesTableModule, CompatibleDataProvidersModule,
+ ClaimsAdminModule, MyClaimsModule, ClaimsByTokenModule, LinkingGenericModule, DirectLinkingModule,
BrowserModule.withServerTransition({appId: 'my-app'}),
RouterModule.forRoot([
{ path: '', component: SearchComponent},
@@ -114,7 +129,7 @@ import {SearchCompatibleDataprovidersComponent} from './searchPages/dataProvider
{ path: 'search/content-providers', component: SearchCompatibleDataprovidersComponent},
{ path: 'search/content-providers-table', loadChildren: './searchPages/dataProviders/compatibleDataProvidersTable.module#CompatibleDataProvidersTableModule' },
{ path: 'search/entity-registries',component: SearchEntityRegistriesComponent},
- { path: 'search/entity-registries-table', loadChildren: './searchPages/dataProviders/entityRegistriesTable.module#EntityRegistriesTableModule' },
+ { path: 'search/entity-registries-table', component: SearchEntityRegistriesTableComponent},
{ path: 'search/journals', loadChildren: './searchPages/dataProviders/journals.module#JournalsModule' },
{ path: 'search/journals-table', loadChildren: './searchPages/dataProviders/journalsTable.module#JournalsTableModule' },
{ path: 'search/advanced/publications', component: AdvancedSearchPublicationsComponent },
@@ -124,11 +139,11 @@ import {SearchCompatibleDataprovidersComponent} from './searchPages/dataProvider
{ path: 'search/advanced/dataproviders', component: AdvancedSearchPublicationsComponent },
{ path: 'search/advanced/projects', component: AdvancedSearchPublicationsComponent },
{ path: 'project-report', loadChildren: './landingPages/htmlProjectReport/htmlProjectReport.module#HtmlProjectReportModule' },
- { path: 'myclaims', loadChildren: './claims/myClaims/myClaims.module#MyClaimsModule' },
- { path: 'claims', loadChildren: './claims/claimsAdmin/claimsAdmin.module#ClaimsAdminModule' },
- { path: 'participate/claim', loadChildren: './claims/linking/linkingGeneric.module#LinkingGenericModule' },
- { path: 'participate/direct-claim', loadChildren: './claims/directLinking/directLinking.module#DirectLinkingModule' },
- { path: 'claims-project-manager', loadChildren: './claims/claimsByToken/claimsByToken.module#ClaimsByTokenModule' },
+ { path: 'myclaims',component: MyClaimsComponent },
+ { path: 'claims', component: ClaimsAdminComponent },
+ { path: 'participate/claim', component: LinkingGenericComponent},
+ { path: 'participate/direct-claim',component: DirectLinkingComponent},
+ { path: 'claims-project-manager', component: ClaimsByTokenComponent },
{ path: 'reload', loadChildren: './reload/reload.module#ReloadModule' },
{ path: 'user-info', loadChildren: './login/user.module#UserModule' },
{ path: 'error', component: ErrorPageComponent },
diff --git a/claims/claim.module.ts b/claims/claim.module.ts
deleted file mode 100644
index 113e8597..00000000
--- a/claims/claim.module.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-// import { NgModule} from '@angular/core';
-// import { CommonModule } from '@angular/common';
-// import { FormsModule } from '@angular/forms';
-// //
-// import {UtilsModule} from '../utils/utils.module';
-// import {ServicesModule} from '../services/services.module';
-//
-// import { ClaimsService} from '../services/claims.service';
-// //main
-// import {ClaimComponent} from './claim/claim.component';
-// import {ClaimsAdminComponent} from './claims/claimsAdmin.component';
-// import {MyClaimsComponent} from './myClaims/myClaims.component';
-// import {LinkingHomeComponent} from './linking/linkingHome.component';
-// import {LinkingComponent} from './linking/linking.component';
-// import { BulkLinkingComponent } from './linking/bulkLinking.component';
-//
-// import {BulkClaimComponent} from './linking/bulkClaim/bulkClaim.component';
-// import {ClaimsComponent} from './claim-utils/claims.component';
-//
-// import {ClaimContextComponent} from './claim-utils/claimContext.component';
-// import {ClaimProjectsComponent} from './claim-utils/claimProject.component';
-// import {ClaimResultComponent} from './claim-utils/claimResult.component';
-// import {ClaimPublicationComponent} from './claim-utils/claimPublication.component';
-// import {ClaimDatasetComponent} from './claim-utils/claimDataset.component';
-//
-// import {ClaimInsertComponent} from './linking/insertClaim/insertClaim.component';
-//
-// import {ClaimSelectedContextsComponent} from './linking/selected/selectedContexts.component';
-// import {ClaimSelectedComponent} from './linking/selected/selected.component';
-// import {ClaimSelectedDatasetsComponent} from './linking/selected/selectedDatasets.component';
-// import {ClaimSelectedResultsComponent} from './linking/selected/selectedResults.component';
-// import {ClaimSelectedProjectsComponent} from './linking/selected/selectedProjects.component';
-// import {ClaimSelectedPublicationsComponent} from './linking/selected/selectedPublications.component';
-//
-// import {LinkingGenericComponent} from './linking/linkingGeneric.component';
-//
-// import {InlineClaimContextComponent} from './inlineClaims/inlineClaimContext.component';
-// import {InlineClaimProjectComponent} from './inlineClaims/inlineClaimProject.component';
-// import {InlineClaimResultComponent} from './inlineClaims/inlineClaimResult.component';
-// import {ClaimEntityFormatter} from '../utils/claimEntityFormatter.component';
-//
-// import { Claim } from '../utils/entities/claim';
-// //helpers
-//
-// import { ClaimRoutingModule } from './claim-routing.module';
-// @NgModule({
-// imports: [
-// CommonModule, FormsModule,
-// UtilsModule,
-// ServicesModule,
-// ClaimRoutingModule
-//
-// ],
-// declarations: [
-// ClaimsAdminComponent, MyClaimsComponent, ClaimComponent, ClaimsComponent,
-// BulkLinkingComponent, LinkingComponent, LinkingHomeComponent, LinkingGenericComponent,
-// InlineClaimContextComponent, InlineClaimProjectComponent, InlineClaimResultComponent, ClaimSelectedComponent,
-// ClaimContextComponent, ClaimSelectedContextsComponent, ClaimInsertComponent, ClaimProjectsComponent, ClaimSelectedProjectsComponent,
-// ClaimResultComponent, ClaimSelectedPublicationsComponent, ClaimSelectedDatasetsComponent, ClaimSelectedResultsComponent, ClaimPublicationComponent,
-// ClaimDatasetComponent, BulkClaimComponent,
-// ClaimEntityFormatter
-// ],
-// providers: [ ClaimsService ],
-// exports: [
-// InlineClaimContextComponent, InlineClaimProjectComponent, InlineClaimResultComponent
-// ]
-// })
-// export class ClaimModule { }
diff --git a/claims/claimsAdmin/claimsAdmin-routing.module.ts b/claims/claimsAdmin/claimsAdmin-routing.module.ts
deleted file mode 100644
index f915d2e9..00000000
--- a/claims/claimsAdmin/claimsAdmin-routing.module.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { AdminLoginGuard} from'../../login/adminLoginGuard.guard';
-
-import { ClaimsAdminComponent } from './claimsAdmin.component';
-import {PreviousRouteRecorder} from'../../utils/piwik/previousRouteRecorder.guard';
-import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
-
-@NgModule({
- imports: [
- RouterModule.forChild([
- { path: '', component: ClaimsAdminComponent, canActivate: [IsRouteEnabled, AdminLoginGuard],
- data: {redirect: '/error'}, canDeactivate: [PreviousRouteRecorder]}])
- ]
-})
-export class ClaimsAdminRoutingModule { }
diff --git a/claims/claimsAdmin/claimsAdmin.module.ts b/claims/claimsAdmin/claimsAdmin.module.ts
index 947bc901..c55e197c 100644
--- a/claims/claimsAdmin/claimsAdmin.module.ts
+++ b/claims/claimsAdmin/claimsAdmin.module.ts
@@ -2,8 +2,6 @@ import { NgModule } from '@angular/core';
import { SharedModule } from '../../shared/shared.module';
import { ClaimsAdminComponent } from './claimsAdmin.component';
-import { ClaimsAdminRoutingModule } from './claimsAdmin-routing.module';
-// import{ClaimServiceModule} from '../claim-utils/service/claimsService.module';
import {DisplayClaimsModule} from '../claim-utils/displayClaims/displayClaims.module';
import { AdminLoginGuard} from'../../login/adminLoginGuard.guard';
import {PreviousRouteRecorder} from '../../utils/piwik/previousRouteRecorder.guard';
@@ -12,14 +10,13 @@ import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
@NgModule({
imports: [
SharedModule,
- ClaimsAdminRoutingModule,
- // ClaimServiceModule,
DisplayClaimsModule
],
providers:[AdminLoginGuard, PreviousRouteRecorder,IsRouteEnabled],
declarations: [
ClaimsAdminComponent
- ]
+ ],
+ exports:[ClaimsAdminComponent]
})
export class ClaimsAdminModule { }
diff --git a/claims/claimsByToken/claimsByToken-routing.module.ts b/claims/claimsByToken/claimsByToken-routing.module.ts
deleted file mode 100644
index 3d50376a..00000000
--- a/claims/claimsByToken/claimsByToken-routing.module.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { LoginGuard} from'../../login/loginGuard.guard';
-import { ClaimsByTokenComponent } from './claimsByToken.component';
-import {PreviousRouteRecorder} from'../../utils/piwik/previousRouteRecorder.guard';
-import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
-
-@NgModule({
- imports: [
- RouterModule.forChild([
- { path: '', component: ClaimsByTokenComponent, canActivate: [IsRouteEnabled, LoginGuard],
- data: {redirect: '/error'}, canDeactivate: [PreviousRouteRecorder]}])
- ]
-})
-export class ClaimsByTokenRoutingModule { }
diff --git a/claims/claimsByToken/claimsByToken.component.ts b/claims/claimsByToken/claimsByToken.component.ts
index bab35bb1..dc30a911 100644
--- a/claims/claimsByToken/claimsByToken.component.ts
+++ b/claims/claimsByToken/claimsByToken.component.ts
@@ -12,8 +12,7 @@ import {Session} from '../../login/utils/helper.class';
import {RouterHelper} from '../../utils/routerHelper.class';
import { Meta} from '../../../angular2-meta';
import {ClaimsDatatablePipe} from '../../utils/pipes/claimsDatatable.pipe';
-
-//import {DataTable} from "angular2-datatable";
+import { DataTableDirective } from 'angular-datatables';
@Component({
selector: 'claims-project-manager',
@@ -44,7 +43,7 @@ import {ClaimsDatatablePipe} from '../../utils/pipes/claimsDatatable.pipe';