-
+
+
+
+
0" [items]="sideBarItems" [backItem]="backItem">
+
+
+
`
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index a2d4ddc..06cf3c1 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -69,10 +69,10 @@ export class AppComponent extends StakeholderBaseComponent implements OnInit {
initialize() {
this.menuItems = [
- new MenuItem("national", this.stakeholderUtils.entities.country + ' ' + this.stakeholderUtils.entities.stakeholder, "", "/", false, [], null, {}, null, null, null, null),
- new MenuItem("rpo", this.stakeholderUtils.entities.organization + ' ' + this.stakeholderUtils.entities.stakeholders, "", "/rpo", false, [], null, {}, null, null, null, null),
- new MenuItem("rfo", this.stakeholderUtils.entities.funder + ' ' + this.stakeholderUtils.entities.stakeholders, "", "/rfo", false, [], null, {}, null, null, null, null),
- new MenuItem("researcher", "Researcher Monitors", "", "/researcher", false, [], null, {}, null, null, null, null),
+ new MenuItem("national", this.stakeholderUtils.entities.country + ' ' + this.stakeholderUtils.entities.stakeholder, "", "/", false, [], null, {}, null, null, null, '/search'),
+ new MenuItem("rpo", this.stakeholderUtils.entities.organization + ' ' + this.stakeholderUtils.entities.stakeholders, "", "/rpo", false, [], null, {}, null, null, null, "/rpo"),
+ new MenuItem("rfo", this.stakeholderUtils.entities.funder + ' ' + this.stakeholderUtils.entities.stakeholders, "", "/rfo", false, [], null, {}, null, null, null, "/rfo"),
+ new MenuItem("researcher", "Researcher Monitors", "", "/researcher", false, [], null, {}, null, null, null, "/researcher"),
/*
new MenuItem("repository", "Repository Monitors", "", "/", false, [], null, {}, null, null, null, null),
*/
diff --git a/src/app/national/national.component.ts b/src/app/national/national.component.ts
index 4df763c..4ec296d 100644
--- a/src/app/national/national.component.ts
+++ b/src/app/national/national.component.ts
@@ -13,34 +13,36 @@ import {StakeholderBaseComponent} from "../openaireLibrary/monitor-admin/utils/s
@Component({
selector: 'national',
template: `
-
-
-
-
-
-
{{entities.country}} {{entities.stakeholder}}
-
-
-
-
-
-
-
-
-
- No {{entities.country}} {{entities.stakeholder}} yet.
-
+
+
+
+
+
+
+
{{entities.country}} {{entities.stakeholder}}
+
+
+
+
+
+
+
+
+
+ No {{entities.country}} {{entities.stakeholder}} yet.
+
+
`
})
export class NationalComponent extends StakeholderBaseComponent implements OnInit {
diff --git a/src/app/national/national.module.ts b/src/app/national/national.module.ts
index 67aa019..f11c6a5 100644
--- a/src/app/national/national.module.ts
+++ b/src/app/national/national.module.ts
@@ -8,7 +8,7 @@ const routes: Route[] = [
path: '', component: NationalComponent, children: [
{path: 'search', loadChildren: () => import('../search/search.module').then(m => m.SearchModule)},
{path: '', loadChildren: () => import('../shared/monitor/monitor.module').then(m => m.MonitorModule)},
- ], data: {stakeholder: 'irish'}
+ ], data: {stakeholder: 'tubitak'}
}
];
diff --git a/src/app/researcher/researcher.component.ts b/src/app/researcher/researcher.component.ts
index 3f5a0a2..409cb90 100644
--- a/src/app/researcher/researcher.component.ts
+++ b/src/app/researcher/researcher.component.ts
@@ -16,45 +16,50 @@ import {StringUtils} from "../openaireLibrary/utils/string-utils.class";
@Component({
selector: 'researcher',
template: `
-
-
-
-
-
-
-
-
- {{author.authorGivenName}} {{author.authorFamilyName}}
-
- 0">{{totalResults}} research outcomes ({{getPercentage()}}% open access)
- {{author.institutions.join(", ")}}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{author.authorGivenName}} {{author.authorFamilyName}}
+
+ 0">{{totalResults}} research outcomes ({{getPercentage()}}% open access)
+ {{author.institutions.join(", ")}}
+
-
-
-
+
- {{properties.orcidURL + author.id}}
+
+
+
Researchers
+
+
+
+
+
+
+
-
-
Researcher Monitors
-
Lorem ipsum...
-
-
-
-
-
-
`
})
export class ResearcherComponent extends BaseComponent implements OnInit {
author;
authorId;
- properties = properties;
totalResults;
openResults;
loading = false;
@@ -74,7 +79,6 @@ export class ResearcherComponent extends BaseComponent implements OnInit {
ngOnInit() {
this.params.subscribe(params => {
-
this.authorId = params['stakeholder'];
this.author = null;
this._customFilterService.setCustomFilter([]);
@@ -90,7 +94,6 @@ export class ResearcherComponent extends BaseComponent implements OnInit {
]);
this.getResultsForAuthor();
- // TODO not correct id/ no author // no irish author?
}, err => {
this._router.navigate([properties.errorLink]);
}));
diff --git a/src/app/researcher/search-researcher/search-researcher.component.html b/src/app/researcher/search-researcher/search-researcher.component.html
index 16c51f9..de4b7e2 100644
--- a/src/app/researcher/search-researcher/search-researcher.component.html
+++ b/src/app/researcher/search-researcher/search-researcher.component.html
@@ -52,12 +52,11 @@