genetic-resources.component.html 720 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
<!-- if there are results to display -->
<div *ngIf="geneticResources.content.length; else noResults">
  <div id="resume" class="text-muted small mb-3">
    Résultats {{ firstResultIndex | number }} à {{ lastResultIndex | number }}
    sur {{ geneticResources.totalElements | number }}
    <ng-container *ngIf="resultLimited">(limités à {{ geneticResources.maxResults | number }})</ng-container>
  </div>
  <div class="mb-4" *ngFor="let geneticResource of geneticResources.content">
    <rare-genetic-resource [geneticResource]="geneticResource"></rare-genetic-resource>
Exbrayat Cédric's avatar
Exbrayat Cédric committed
10
11
  </div>
</div>
12
13
14
15
<!-- else we display a simple message -->
<ng-template #noResults>
  <div id="no-results">Pas de résultat.</div>
</ng-template>