[Trunk | Library]:
1. resultLanding.component.html: [Bug fix]: Remove input property [showAllAuthors]="false" from <landing-header> - "View all authors" button was never visible. 2. showAuthors.component.ts: Integrate orcid to production - Remove restrictions in html. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59445 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
85a1688dc0
commit
8e50219489
|
@ -21,7 +21,7 @@
|
||||||
[URL]="properties.domain+ properties.baseLink +linkToLandingPage+id"></schema2jsonld>
|
[URL]="properties.domain+ properties.baseLink +linkToLandingPage+id"></schema2jsonld>
|
||||||
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
||||||
[subTitle]="resultLandingInfo.subtitle"
|
[subTitle]="resultLandingInfo.subtitle"
|
||||||
[authors]="resultLandingInfo.authors" [authorLimit]="10" [showAllAuthors]="false"
|
[authors]="resultLandingInfo.authors" [authorLimit]="10"
|
||||||
[underCuration]="resultLandingInfo.underCurationMessage"
|
[underCuration]="resultLandingInfo.underCurationMessage"
|
||||||
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
|
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
|
||||||
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
||||||
|
|
|
@ -13,17 +13,17 @@ import {properties} from "../../../../environments/environment";
|
||||||
template: `
|
template: `
|
||||||
<div *ngIf="authors" class="uk-height-max-medium uk-overflow-auto">
|
<div *ngIf="authors" class="uk-height-max-medium uk-overflow-auto">
|
||||||
<span *ngFor="let author of authors.slice(0,numberOfAuthors) let i=index">
|
<span *ngFor="let author of authors.slice(0,numberOfAuthors) let i=index">
|
||||||
<span *ngIf="!author.orcid || (properties.environment == 'production') || !testBrowser"
|
<span *ngIf="!author.orcid || !testBrowser"
|
||||||
[class.uk-text-small]="small">
|
[class.uk-text-small]="small">
|
||||||
{{author.fullName + "; "}}
|
{{author.fullName + "; "}}
|
||||||
</span>
|
</span>
|
||||||
<a *ngIf="author.orcid && (properties.environment != 'production') && testBrowser">
|
<a *ngIf="author.orcid && testBrowser">
|
||||||
<img src="assets/common-assets/common/ORCIDiD_icon16x16.png" alt="">{{" "}}
|
<img src="assets/common-assets/common/ORCIDiD_icon16x16.png" alt="">{{" "}}
|
||||||
<span [class.uk-text-small]="small">
|
<span [class.uk-text-small]="small">
|
||||||
{{author.fullName + "; "}}
|
{{author.fullName + "; "}}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<div *ngIf="author.orcid && (properties.environment != 'production')"
|
<div *ngIf="author.orcid && testBrowser"
|
||||||
class="default-dropdown uk-margin-remove-top uk-padding-medium uk-dropdown"
|
class="default-dropdown uk-margin-remove-top uk-padding-medium uk-dropdown"
|
||||||
uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
|
uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
|
||||||
<b class="uk-margin-top">{{author.fullName}}</b>
|
<b class="uk-margin-top">{{author.fullName}}</b>
|
||||||
|
|
Loading…
Reference in New Issue