[new-UI | Library]: result-preview.component.html: Added <span> with class "custom-external" for external icon when "externalUrl" is set.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60699 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
d9c67bab76
commit
ed8ea162b6
|
@ -43,17 +43,18 @@
|
|||
<a *ngIf="externalUrl && result.id && !(result.resultType == 'dataprovider' && result.compatibilityUNKNOWN) "
|
||||
(click)="onClick()"
|
||||
target="_blank" [href]="externalUrl+result.id" class="uk-link uk-width-expand">
|
||||
<div *ngIf="(result.title) || result.acronym">
|
||||
<span *ngIf="(result.title) || result.acronym">
|
||||
<span *ngIf="result.acronym">
|
||||
{{result.acronym}}
|
||||
</span>
|
||||
<span *ngIf="result.acronym && (result.title)"> (</span>
|
||||
<span *ngIf="result.title" [innerHTML]="result.title"></span>
|
||||
<span *ngIf="result.acronym && result.title">)</span>
|
||||
</div>
|
||||
<div *ngIf="!result.title && !result.acronym">
|
||||
</span>
|
||||
<span *ngIf="!result.title && !result.acronym">
|
||||
[no title available]
|
||||
</div>
|
||||
</span>
|
||||
<span class="custom-external custom-icon space"></span>
|
||||
</a>
|
||||
|
||||
<div *ngIf="!result.id || (result.resultType == 'dataprovider' && result.compatibilityUNKNOWN)"
|
||||
|
|
Loading…
Reference in New Issue