31 lines
1.7 KiB
HTML
31 lines
1.7 KiB
HTML
<ul *ngIf="results.length > 0 " class="uk-list uk-list-divider">
|
|
<li *ngFor=" let entity of results " class="">
|
|
<!--<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 uk-flex uk-flex-middle uk-margin-small-top uk-margin-small-bottom uk-margin-remove-left">
|
|
<!--<div >
|
|
<span *ngIf="type == 'source' || entity.result" class="material-icons uk-text-small uk-text-meta">insert_drive_file
|
|
</span>
|
|
<span *ngIf="type == 'target' && entity.project"
|
|
class="material-icons uk-text-small uk-text-meta">assignment_turned_in
|
|
</span>
|
|
<span *ngIf="entity.type=='community'"
|
|
class="material-icons uk-text-small uk-text-meta">people
|
|
</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" [showIcon]="true"></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>
|
|
</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>
|