[Trunk | Library]: depositFirstPage.component.ts: [Bug fix for previous commit]: Class in Zenodo button applied to correct button now.

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57409 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2019-10-18 09:36:07 +00:00
parent beb3734d7e
commit 9991ca134e
1 changed files with 3 additions and 3 deletions

View File

@ -127,12 +127,12 @@ import {Meta, Title} from "@angular/platform-browser";
<a *ngIf="zenodoInformation.shareInZenodoUrl" type="submit"
[queryParams]="properties.environment!='development'?{}:routerHelper.createQueryParam('communityId',communityId)"
routerLinkActive="router-link-active" [routerLink]="zenodoInformation.shareInZenodoUrl"
[class]="'uk-button uk-padding uk-padding-remove-vertical uk-margin-medium-top uk-margin-bottom' +
(communityId && communityId != 'openaire') ? ' portal-button' : ' uk-button-primary'">
class="uk-button portal-button uk-padding uk-padding-remove-vertical uk-margin-medium-top uk-margin-bottom">
<span><span>Related zenodo communities</span><span uk-icon="arrow-right"></span></span>
</a>
<a *ngIf="!zenodoInformation.shareInZenodoUrl" target="_blank" href="{{zenodoInformation.url}}" type="submit"
class="uk-button exploreZenodoButton portal-button uk-padding uk-padding-remove-vertical uk-margin-medium-top uk-margin-bottom">
[class]="'uk-button uk-padding uk-padding-remove-vertical uk-margin-medium-top uk-margin-bottom' +
(communityId && communityId != 'openaire') ? ' portal-button' : ' uk-button-primary'">
<span><span>Deposit in Zenodo</span><span uk-icon="arrow-right"></span></span>
</a>
</div>