[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:
konstantina.galouni 2020-09-22 10:34:06 +00:00
parent 85a1688dc0
commit 8e50219489
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@
[URL]="properties.domain+ properties.baseLink +linkToLandingPage+id"></schema2jsonld>
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
[subTitle]="resultLandingInfo.subtitle"
[authors]="resultLandingInfo.authors" [authorLimit]="10" [showAllAuthors]="false"
[authors]="resultLandingInfo.authors" [authorLimit]="10"
[underCuration]="resultLandingInfo.underCurationMessage"
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">

View File

@ -13,17 +13,17 @@ import {properties} from "../../../../environments/environment";
template: `
<div *ngIf="authors" class="uk-height-max-medium uk-overflow-auto">
<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">
{{author.fullName + "; "}}
</span>
<a *ngIf="author.orcid && (properties.environment != 'production') && testBrowser">
<a *ngIf="author.orcid && testBrowser">
<img src="assets/common-assets/common/ORCIDiD_icon16x16.png" alt="">{{" "}}
<span [class.uk-text-small]="small">
{{author.fullName + "; "}}
</span>
</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"
uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
<b class="uk-margin-top">{{author.fullName}}</b>