2019-07-23 14:23:12 +02:00
|
|
|
<ul *ngIf="results.length > 0 " class="uk-list uk-list-divider">
|
|
|
|
<li *ngFor=" let entity of results " >
|
2022-04-05 17:36:08 +02:00
|
|
|
<!--<div class="uk-text-muted">
|
2019-07-23 14:23:12 +02:00
|
|
|
{{(!entity.result) ? entity.type : ((entity.result && entity.result.source == 'openaire') ? entity.type : (entity.result && entity.result.source + ' result'))}}
|
2022-04-05 17:36:08 +02:00
|
|
|
</div>-->
|
|
|
|
<div class="uk-grid uk-flex uk-flex-middle">
|
|
|
|
<div >
|
|
|
|
<span *ngIf="type == 'source'" class="material-icons uk-text-small uk-text-meta">insert_drive_file</span>
|
|
|
|
<span *ngIf="type == 'target'" class="material-icons uk-text-small uk-text-meta">assignment_turned_in</span>
|
|
|
|
</div>
|
|
|
|
<div class="uk-width-expand uk-padding-remove-left uk-margin-small-left">
|
|
|
|
<claim-title [entity]="entity" [slice]="true" [sliceSize]="45" [shortVersion]="shortVersion"></claim-title>
|
|
|
|
<claim-result-metadata [entity]="entity" [slice]="true" [sliceSize]="5" [shortVersion]="shortVersion"></claim-result-metadata>
|
|
|
|
<claim-project-metadata [entity]="entity" [slice]="true" [sliceSize]="5" [shortVersion]="shortVersion"></claim-project-metadata>
|
2019-07-23 14:23:12 +02:00
|
|
|
</div>
|
2019-07-24 14:46:29 +02:00
|
|
|
<div class="uk-margin-auto-vertical uk-padding-remove-left uk-margin-small-left" *ngIf="enableRemove">
|
2022-03-16 17:54:22 +01:00
|
|
|
<a class=" uk-link " (click)="remove(entity)" >
|
|
|
|
<span uk-icon="close"> </span>
|
2019-07-23 14:23:12 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
</ul>
|