Enable Orcid S&L for aggregator
This commit is contained in:
parent
dc3660e562
commit
806f0185b8
|
@ -53,7 +53,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<!-- ORCID -->
|
<!-- ORCID -->
|
||||||
<li *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community'"
|
<li *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community' || properties.adminToolsPortalType == 'aggregator'"
|
||||||
class="uk-text-center">
|
class="uk-text-center">
|
||||||
<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'">
|
||||||
|
@ -150,7 +150,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<!-- ORCID -->
|
<!-- ORCID -->
|
||||||
<div *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community'"
|
<div *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community' || properties.adminToolsPortalType == 'aggregator'"
|
||||||
class="uk-margin-small-right">
|
class="uk-margin-small-right">
|
||||||
<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'">
|
||||||
|
|
|
@ -307,7 +307,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!--&& loggedIn (card footer)-->
|
<!--&& loggedIn (card footer)-->
|
||||||
<div *ngIf="result.measure?.length ||
|
<div *ngIf="result.measure?.length ||
|
||||||
((properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community') &&
|
((properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community' || properties.adminToolsPortalType == 'aggregator') &&
|
||||||
((showOrcid && result.identifiers && result.identifiers.size > 0 && isResultType) || result.orcidCreationDates?.length > 0))"
|
((showOrcid && result.identifiers && result.identifiers.size > 0 && isResultType) || result.orcidCreationDates?.length > 0))"
|
||||||
class="uk-text-small"
|
class="uk-text-small"
|
||||||
[ngClass]="{'uk-card-footer': isCard}">
|
[ngClass]="{'uk-card-footer': isCard}">
|
||||||
|
@ -393,7 +393,7 @@
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<!-- && loggedIn -->
|
<!-- && loggedIn -->
|
||||||
<!-- TODO: change colors/opacity and disabled attr for ORCID buttons -->
|
<!-- TODO: change colors/opacity and disabled attr for ORCID buttons -->
|
||||||
<span *ngIf="(properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community')
|
<span *ngIf="(properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community' || properties.adminToolsPortalType == 'aggregator')
|
||||||
&& showOrcid && result.identifiers && result.identifiers.size > 0 && isResultType"
|
&& showOrcid && result.identifiers && result.identifiers.size > 0 && isResultType"
|
||||||
class="uk-margin-auto-left">
|
class="uk-margin-auto-left">
|
||||||
<orcid-work *ngIf="showOrcid && result.identifiers && result.identifiers.size > 0"
|
<orcid-work *ngIf="showOrcid && result.identifiers && result.identifiers.size > 0"
|
||||||
|
|
Loading…
Reference in New Issue