[Library | develop]: resultLanding.component.html: Added check for message of non eosc results - do not show it in production environment until we get approval.
This commit is contained in:
parent
fc2c58e3b9
commit
bad855089c
|
@ -214,7 +214,7 @@
|
||||||
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
||||||
[texts]="pageContents['top']"></helper>
|
[texts]="pageContents['top']"></helper>
|
||||||
|
|
||||||
<i class="uk-text-meta uk-text-xsmall" *ngIf="properties.adminToolsPortalType == 'eosc' && !belongsInEOSC">
|
<i class="uk-text-meta uk-text-xsmall" *ngIf="properties.adminToolsPortalType == 'eosc' && !belongsInEOSC && properties.environment !== 'production'">
|
||||||
This {{getTypeName() | lowercase}} is not part of the European Open Science Cloud
|
This {{getTypeName() | lowercase}} is not part of the European Open Science Cloud
|
||||||
</i>
|
</i>
|
||||||
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
||||||
|
@ -509,7 +509,7 @@
|
||||||
<icon [name]="resultLandingInfo.hostedBy_collectedFrom[0].accessRightIcon" [flex]="true" [ratio]="1"></icon>
|
<icon [name]="resultLandingInfo.hostedBy_collectedFrom[0].accessRightIcon" [flex]="true" [ratio]="1"></icon>
|
||||||
<span class="uk-margin-xsmall-left uk-text-small uk-text-uppercase uk-text-bolder">{{getAccessLabel(resultLandingInfo.hostedBy_collectedFrom[0].accessRight)}}</span>
|
<span class="uk-margin-xsmall-left uk-text-small uk-text-uppercase uk-text-bolder">{{getAccessLabel(resultLandingInfo.hostedBy_collectedFrom[0].accessRight)}}</span>
|
||||||
</div>
|
</div>
|
||||||
<i class="uk-text-meta uk-text-xsmall" *ngIf="properties.adminToolsPortalType == 'eosc' && !belongsInEOSC">
|
<i class="uk-text-meta uk-text-xsmall" *ngIf="properties.adminToolsPortalType == 'eosc' && !belongsInEOSC && properties.environment !== 'production'">
|
||||||
This {{getTypeName() | lowercase}} is not part of the European Open Science Cloud
|
This {{getTypeName() | lowercase}} is not part of the European Open Science Cloud
|
||||||
</i>
|
</i>
|
||||||
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
||||||
|
|
Loading…
Reference in New Issue