[Library|Trunk]

Orcid: add orcid button also for community dashboards


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60837 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2021-04-12 13:43:33 +00:00
parent 46869b4afe
commit 8cdeb0e9ca
2 changed files with 7 additions and 3 deletions

View File

@ -101,7 +101,8 @@
</a>
</li>
<!-- ORCID -->
<li *ngIf="properties.adminToolsPortalType == 'explore'">
<li *ngIf="properties.adminToolsPortalType == 'explore' || (properties.adminToolsPortalType ==
'community' && properties.environment != 'production')">
<orcid-work [resultId]="id" [resultTitle]="resultLandingInfo.title" [resultLandingInfo]="resultLandingInfo"
[pids]="pidsArrayString" [pageType]="'landing'">
</orcid-work>

View File

@ -296,7 +296,8 @@
</div>
<!--&& loggedIn -->
<div *ngIf="(result.pop_inf && result.DOI) ||
(properties.adminToolsPortalType == 'explore' &&
((properties.adminToolsPortalType == 'explore' || (properties.adminToolsPortalType == 'community' &&
properties.environment != 'production')) &&
((showOrcid && result.identifiers && result.identifiers.size > 0) || (result.orcidUpdateDates?.length > 0 || result.orcidCreationDates?.length > 0)))"
class="result-preview-bottom">
<!-- Impact Factors-->
@ -373,7 +374,9 @@
</div>
</ng-container>
<!-- && loggedIn -->
<span *ngIf="properties.adminToolsPortalType == 'explore' && showOrcid && result.identifiers && result.identifiers.size > 0"
<span *ngIf="(properties.adminToolsPortalType == 'explore' || (properties.adminToolsPortalType == 'community' &&
properties.environment != 'production')) && showOrcid && result.identifiers &&
result.identifiers.size > 0"
class="uk-width-1-3 uk-width-expand@s">
<!-- class="uk-flex uk-flex-middle uk-flex-right uk-width-expand">-->
<orcid-work *ngIf="showOrcid && result.identifiers && result.identifiers.size > 0"