[Libary | Trunk]: Add external link on provider in results preview

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58321 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-03-23 14:33:14 +00:00
parent e5ef1ceaf7
commit fe937b2f9a
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,7 @@
<a *ngIf="from.downloadUrl && from.downloadUrl.length === 1" <a *ngIf="from.downloadUrl && from.downloadUrl.length === 1"
[href]="from.downloadUrl[0]" target="_blank" class="title"> [href]="from.downloadUrl[0]" target="_blank" class="title">
{{from.downloadName}} {{from.downloadName}}
<span class="custom-external"></span> <span class="custom-external space"></span>
</a> </a>
<span *ngIf="!from.downloadUrl || from.downloadUrl.length === 0" class="title"> <span *ngIf="!from.downloadUrl || from.downloadUrl.length === 0" class="title">
{{from.downloadName}} {{from.downloadName}}
@ -81,6 +81,7 @@
<a *ngIf="from.collectedId" routerLink="/search/dataprovider" [queryParams]="{datasourceId: from.collectedId}" <a *ngIf="from.collectedId" routerLink="/search/dataprovider" [queryParams]="{datasourceId: from.collectedId}"
[href]="from.downloadUrl[0]" target="_blank"> [href]="from.downloadUrl[0]" target="_blank">
{{from.collectedName}} {{from.collectedName}}
<span class="custom-external space"></span>
</a> </a>
<span *ngIf="!from.collectedId"> <span *ngIf="!from.collectedId">
{{from.collectedName}} {{from.collectedName}}