0 && curator.affiliations.length <= 2)?'uk-grid-divider':''" uk-grid>
+
+
0 && curator.affiliations.length <= 2)?'uk-grid-divider uk-flex uk-flex-middle':''" uk-grid>
@@ -70,75 +70,48 @@
-
-
-
+
+
+
diff --git a/src/app/curators/curators.component.ts b/src/app/curators/curators.component.ts
index 8a58622..6c44753 100644
--- a/src/app/curators/curators.component.ts
+++ b/src/app/curators/curators.component.ts
@@ -8,7 +8,7 @@ import {ConnectHelper} from "../openaireLibrary/connect/connectHelper";
import {HelperFunctions} from "../openaireLibrary/utils/HelperFunctions.class";
@Component({
- selector: 'showAuthors',
+ selector: 'curators',
templateUrl: './curators.component.html'
})
@@ -36,12 +36,11 @@ export class CuratorsComponent {
this.showLoading = true;
this.properties = data.envSpecific;
this.downloadUrl = this.properties.downloadUrl;
- console.log(this.downloadUrl)
if(!this.main) {
let emails = this.managers.join();
console.log(emails);
this.curatorsService.getCurators(this.properties,
- this.properties.adminToolsAPIURL + 'curator?emails=' + emails).subscribe(curators => {
+ this.properties.adminToolsAPIURL + '/curator?emails=' + emails).subscribe(curators => {
this.curators = curators;
for(let i = 0; i < this.curators.length; i++) {
this.showMore[i]= false;
@@ -75,7 +74,7 @@ export class CuratorsComponent {
this.managers = community[0].managers;
let emails = this.managers.join();
this.curatorsService.getCurators(this.properties,
- this.properties.adminToolsAPIURL + 'curator?emails=' + emails).subscribe(curators => {
+ this.properties.adminToolsAPIURL + '/curator?emails=' + emails).subscribe(curators => {
this.curators = curators;
for(let i = 0; i < this.curators.length; i++) {
this.showMore[i]= false;
diff --git a/src/app/curators/curators.module.ts b/src/app/curators/curators.module.ts
index 9798eaa..0f8b93e 100644
--- a/src/app/curators/curators.module.ts
+++ b/src/app/curators/curators.module.ts
@@ -1,4 +1,4 @@
-import { NgModule} from '@angular/core';
+import { NgModule} from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
@@ -21,19 +21,4 @@ import {AffiliationsModule} from "../affiliations/affiliations.module";
CuratorsComponent
]
})
-export class CuratorsModule {
- static forChild(): NgModule {
- return {
- imports: [
- CommonModule, FormsModule,
- ],
- declarations: [
- CuratorsComponent
- ],
- providers: [CuratorService],
- exports: [
- CuratorsComponent
- ]
- }
- }
-}
+export class CuratorsModule {}