Merge Angular 16 Irish Monitor to develop #33
|
@ -32,10 +32,14 @@ declare var UIkit: any;
|
||||||
My ORCID links
|
My ORCID links
|
||||||
</div>
|
</div>
|
||||||
<span *ngIf="authorNameParam" class="uk-width-1-1 uk-width-expand@m">
|
<span *ngIf="authorNameParam" class="uk-width-1-1 uk-width-expand@m">
|
||||||
<a class="uk-button uk-button-text uk-align-left uk-align-right@m" [queryParams]="authorNameParam"
|
<a *ngIf="!properties.orcidDiscoverLinksPage" class="uk-button uk-button-text uk-align-left uk-align-right@m" [queryParams]="authorNameParam"
|
||||||
[routerLink]="properties.searchLinkToAdvancedResults" routerLinkActive="router-link-active">
|
[routerLink]="properties.searchLinkToAdvancedResults" routerLinkActive="router-link-active">
|
||||||
Discover {{openaireEntities.RESULTS | lowercase}} related to you
|
Discover {{openaireEntities.RESULTS | lowercase}} related to you
|
||||||
</a>
|
</a>
|
||||||
|
<a *ngIf="properties.orcidDiscoverLinksPage" class="uk-button uk-button-text uk-align-left uk-align-right@m"
|
||||||
|
[routerLink]="properties.orcidDiscoverLinksPage" routerLinkActive="router-link-active">
|
||||||
|
Discover {{openaireEntities.RESULTS | lowercase}} related to you
|
||||||
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -203,7 +207,7 @@ export class MyOrcidLinksComponent {
|
||||||
this.subscriptions.push(this._orcidService.getPersonalDetails().subscribe(
|
this.subscriptions.push(this._orcidService.getPersonalDetails().subscribe(
|
||||||
details => {
|
details => {
|
||||||
let author: string = "";
|
let author: string = "";
|
||||||
|
console.log(details)
|
||||||
if(details && details['name']) {
|
if(details && details['name']) {
|
||||||
let name: string = details['name'];
|
let name: string = details['name'];
|
||||||
if(name['given-names'] && name['given-names']['value']) {
|
if(name['given-names'] && name['given-names']['value']) {
|
||||||
|
|
|
@ -151,6 +151,7 @@ export interface EnvProperties {
|
||||||
logServiceUrl?:string;
|
logServiceUrl?:string;
|
||||||
zenodoDumpUrl?:string;
|
zenodoDumpUrl?:string;
|
||||||
openOrgsUrl?:string;
|
openOrgsUrl?:string;
|
||||||
|
orcidDiscoverLinksPage?:string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function checkPropertyValues(properties:EnvProperties){
|
export function checkPropertyValues(properties:EnvProperties){
|
||||||
|
|
Loading…
Reference in New Issue