21 lines
1.0 KiB
HTML
21 lines
1.0 KiB
HTML
<ul *ngIf="results.length > 0 " class="uk-list uk-list-divider">
|
|
<li *ngFor=" let entity of results " >
|
|
<div class="uk-text-muted">
|
|
{{(!entity.result) ? entity.type : ((entity.result && entity.result.source == 'openaire') ? entity.type : (entity.result && entity.result.source + ' result'))}}
|
|
</div>
|
|
<div class="uk-grid">
|
|
<div class="uk-width-expand">
|
|
<claim-title [entity]="entity" [slice]="true" [sliceSize]="45" [shortVersion]="true"></claim-title>
|
|
<claim-result-metadata [entity]="entity" [slice]="true" [sliceSize]="5" [shortVersion]="true"></claim-result-metadata>
|
|
<claim-project-metadata [entity]="entity" [slice]="true" [sliceSize]="5" [shortVersion]="true"></claim-project-metadata>
|
|
</div>
|
|
<div class="uk-margin-auto-vertical uk-padding-remove-left uk-margin-small-left" *ngIf="enableRemove">
|
|
<a class=" uk-link " (click)="remove(entity)" >
|
|
<span uk-icon="close"> </span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
</li>
|
|
</ul>
|