Connect: Community Card - Add directLink on Visit too.

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56812 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2019-07-30 14:06:39 +00:00
parent 9d5e820151
commit ef83fdbab1
1 changed files with 4 additions and 1 deletions

View File

@ -72,7 +72,10 @@
</div>
<div>
<div class="uk-text-right">
<a (click)="confirmModalOpen()" class="portal-link uk-text-uppercase uk-text-bold">
<a *ngIf="directLink" [href]="getCommunityPageUrl()" target="_blank" class="portal-link uk-text-uppercase uk-text-bold">
Visit
</a>
<a *ngIf="!directLink" (click)="confirmModalOpen()" class="portal-link uk-text-uppercase uk-text-bold">
Visit
</a>
</div>