[Trunk | Library]: resultLanding.component.html & result-preview.component.html: [Bug fix] Remove check "&& properties.environment != 'production')" when "properties.adminToolsPortalType == 'community'".

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60939 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2021-04-21 11:09:40 +00:00
parent cc38df3b7b
commit a45915230c
2 changed files with 6 additions and 9 deletions

View File

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

View File

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