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 " >
|
|
|
|
<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>
|
2019-07-24 14:46:29 +02:00
|
|
|
<div class="uk-margin-auto-vertical uk-padding-remove-left uk-margin-small-left" *ngIf="enableRemove">
|
2019-07-23 14:23:12 +02:00
|
|
|
<a class=" uk-icon-button " (click)="remove(entity)" >
|
|
|
|
<span class="uk-icon" >
|
|
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="minus" ratio="1"><rect height="1" width="18" y="9" x="1"></rect></svg>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
</ul>
|