Project

General

Profile

1 61381 k.triantaf
<ul *ngIf="results.length > 0 "  class="uk-list uk-list-divider">
2
   <li *ngFor=" let entity of results "  >
3
     <div class="uk-text-muted">
4
       {{(!entity.result) ? entity.type : ((entity.result && entity.result.source == 'openaire') ? entity.type : (entity.result && entity.result.source + ' result'))}}
5
     </div>
6
      <div class="uk-grid">
7
        <div class="uk-width-expand">
8
           <claim-title [entity]="entity" [slice]="true" [sliceSize]="45" [shortVersion]="true"></claim-title>
9
          <claim-result-metadata [entity]="entity" [slice]="true" [sliceSize]="5" [shortVersion]="true"></claim-result-metadata>
10
          <claim-project-metadata [entity]="entity"  [slice]="true" [sliceSize]="5"  [shortVersion]="true"></claim-project-metadata>
11
       </div>
12
       <div class="uk-margin-auto-vertical uk-padding-remove-left uk-margin-small-left" *ngIf="enableRemove">
13
         <a class="  uk-icon-button " (click)="remove(entity)"  >
14
         <span class="uk-icon" >
15
            <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>
16
         </span>
17
           </a>
18
       </div>
19
     </div>
20
21
  </li>
22
</ul>