diff --git a/landingPages/landing-utils/fundedBy.component.ts b/landingPages/landing-utils/fundedBy.component.ts
index f204aece..2187db97 100644
--- a/landingPages/landing-utils/fundedBy.component.ts
+++ b/landingPages/landing-utils/fundedBy.component.ts
@@ -1,5 +1,6 @@
import {Component, Input} from '@angular/core';
import {HelperFunctions} from "../../utils/HelperFunctions.class";
+import {Project} from "../../utils/result-preview/result-preview";
@Component({
selector: 'fundedBy',
@@ -7,7 +8,7 @@ import {HelperFunctions} from "../../utils/HelperFunctions.class";
Funded by:
-
+
{{item['funderShortname']?item['funderShortname']:item['funderName']}}
[no funder available]
@@ -18,18 +19,21 @@ import {HelperFunctions} from "../../utils/HelperFunctions.class";
[no funder available]
| {{ item['acronym']?item['acronym']:item['title']}}
-
+
Project
-
@@ -67,62 +71,12 @@ import {HelperFunctions} from "../../utils/HelperFunctions.class";
})
export class FundedByComponent {
- @Input() fundedByProjects: { "id": string, "acronym": string, "title": string,
- "funderShortname": string, "funderName": string,
- "funding": string, "code": string, "provenanceAction": string,
- "inline": boolean }[];
-
- public threshold: number = 5;
- public showNum: number = 5;
-
- constructor () {}
-
- ngOnInit() {}
-
- public buildFundingTooltip(item: { "id": string, "acronym": string, "title": string,
- "funderShortname": string, "funderName": string,
- "funding": string, "code": string, "provenanceAction": string, inline: boolean}) {
- let tooltipContent: string = "";
-
- return tooltipContent;
- }
-
- public scroll() {
- HelperFunctions.scroll();
- }
+ @Input() fundedByProjects: Project[];
+
+ public threshold: number = 5;
+ public showNum: number = 5;
+
+ public scroll() {
+ HelperFunctions.scroll();
+ }
}
diff --git a/sharedComponents/navigationBar.component.html b/sharedComponents/navigationBar.component.html
index 199a5be4..ded7cdda 100644
--- a/sharedComponents/navigationBar.component.html
+++ b/sharedComponents/navigationBar.component.html
@@ -43,7 +43,7 @@