[Trunk | Library]: showAuthors.component.ts:

a. [Bug fix] When there is "author.orcid" and "author.ocid_pending" too, ignore "author.orcid_pending".
	b. [Bug fix] Increased the min-width of area where ORCID iD is shown from 250px to 280px.
	c. [Bug fix] Increased the min-width of dropdown box from 70px to 465px - sometimes copy and external buttons were cut to 2 or 3 lines.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60618 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2021-03-11 01:37:04 +00:00
parent a9c25698dd
commit be0b3c8753
1 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ import {properties} from "../../../../environments/environment";
<a *ngIf="(author.orcid || author.orcid_pending) && testBrowser" class="uk-display-inline-block space">
<span>
<img *ngIf="author.orcid" src="assets/common-assets/common/ORCIDiD_icon16x16.png" alt="">{{" "}}
<img *ngIf="author.orcid_pending" src="assets/common-assets/common/ORCIDiD_iconbw16x16.png" alt="">{{" "}}
<img *ngIf="!author.orcid && author.orcid_pending" src="assets/common-assets/common/ORCIDiD_iconbw16x16.png" alt="">{{" "}}
<span [class.uk-text-small]="small">
{{author.fullName + "; "}}
</span>
@ -28,20 +28,20 @@ import {properties} from "../../../../environments/environment";
</a>
<div *ngIf="(author.orcid || author.orcid_pending) && 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;">
uk-dropdown="pos: bottom-left; mode:click" style="min-width: 465px !important;">
<b class="uk-margin-top">{{author.fullName}}</b>
<div>
<div class="uk-text-muted uk-margin-small-bottom uk-margin-small-top">ORCID</div>
<div class="uk-text-muted uk-text-small uk-margin-small-top uk-margin-small-bottom">
<i *ngIf="author.orcid">Harvested from ORCID Public Data File</i>
<i *ngIf="author.orcid_pending">Derived by OpenAIRE algorithms or harvested from 3d party repositories</i>
<i *ngIf="!author.orcid && author.orcid_pending">Derived by OpenAIRE algorithms or harvested from 3d party repositories</i>
</div>
<div>
<div class="orcid uk-display-inline-block">
<input #element class="uk-padding-small uk-padding-remove-vertical uk-disabled"
style="min-height: 38px; min-width: 250px;" name="code" [value]="properties.orcidURL+(author.orcid ? author.orcid : author.orcid_pending)">
style="min-height: 38px; min-width: 280px;" name="code" [value]="properties.orcidURL+(author.orcid ? author.orcid : author.orcid_pending)">
<button [class]="'uk-button uk-button-primary uk-button-small uk-icon copy orcid_clipboard_btn_auhtor_'+i" style="min-height: 40px"
(click)="copyToClipboard(element)" title="Copy to clipboard">
<span class="custom-icon custom-copy-white"></span>