diff --git a/src/app/portal/components/results/persons/persons.component.html b/src/app/portal/components/results/persons/persons.component.html index 2b347002b..a3319e820 100644 --- a/src/app/portal/components/results/persons/persons.component.html +++ b/src/app/portal/components/results/persons/persons.component.html @@ -34,7 +34,6 @@ [innerHtml]="person.name | highlight: input" > - diff --git a/src/app/portal/components/single/single-person/single-person.component.html b/src/app/portal/components/single/single-person/single-person.component.html index c1fa40bc1..bd1b5c57d 100644 --- a/src/app/portal/components/single/single-person/single-person.component.html +++ b/src/app/portal/components/single/single-person/single-person.component.html @@ -45,14 +45,17 @@

404 - Virheellinen osoite

{{ person.name }}

+ Orcid -palvelun logo - http://orcid.org/{{ person.orcid }} + https://orcid.org/{{ person.orcid }} + +
diff --git a/src/app/portal/components/single/single-person/single-person.component.ts b/src/app/portal/components/single/single-person/single-person.component.ts index 27b19c370..ce308424a 100644 --- a/src/app/portal/components/single/single-person/single-person.component.ts +++ b/src/app/portal/components/single/single-person/single-person.component.ts @@ -137,7 +137,7 @@ export class SinglePersonComponent implements OnInit { const personRes = result.persons[0]; this.person = personRes; - + this.person.orcidLink = 'https://orcid.org/' + this.person.orcid; if (personRes) { this.setTitle( `${personRes.name} - ${$localize`:@@appName:Tiedejatutkimus.fi`}` diff --git a/src/app/portal/models/person/person.model.ts b/src/app/portal/models/person/person.model.ts index 1ec31ed44..22c9a512c 100644 --- a/src/app/portal/models/person/person.model.ts +++ b/src/app/portal/models/person/person.model.ts @@ -42,7 +42,8 @@ export class Person { public description: string, public fieldsOfScience: string, public keywords: string, - public uniqueDataSources: any + public uniqueDataSources: any, + public orcidLink?: string ) {} }