parent
92eb7861a4
commit
9e326fde54
@ -1,42 +1,4 @@ |
|||||||
<app-nav-menu></app-nav-menu> |
<app-nav-menu></app-nav-menu> |
||||||
<h1>Liste des formations </h1> |
<h1>Liste des formations </h1> |
||||||
|
|
||||||
<!-- Affichage de la liste des formations--> |
<formations-table [rechercherParStatutFormation]="rechercherParStatutFormation" [displayedColumns]="displayedColumns"></formations-table> |
||||||
<mat-table [dataSource]="this.dataSource"> |
|
||||||
<ng-container matColumnDef="intitule"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Intitulé</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{ row.intitule }}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef=participants> |
|
||||||
<mat-header-cell *matHeaderCellDef>Nb participants</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{ row.nbParticipants }}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef="date"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Date prévisionnelle</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{ row.dateDebut | date:'dd/MM/yy à hh:mm' }}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef="origine"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Origine</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row"> {{ row.origine.libelle}}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef="statut"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Statut</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{row.statut.libelle}}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row> |
|
||||||
<!-- Lien vers les détails d'une formation--> |
|
||||||
<mat-row *matRowDef="let row; columns: displayedColumns;" [routerLink]="['/formations',row.id]"></mat-row> |
|
||||||
</mat-table> |
|
||||||
<mat-paginator #paginator |
|
||||||
[length] = "taille" |
|
||||||
[pageIndex]="numPage-1" |
|
||||||
[pageSize]="parPage" |
|
||||||
[pageSizeOptions]="pageOption" |
|
||||||
(page)="pageEvent = updatePageInfo($event)" |
|
||||||
> |
|
||||||
</mat-paginator> |
|
@ -1,47 +1,3 @@ |
|||||||
<h1> Page RH </h1> |
<h1> Page RH </h1> |
||||||
|
|
||||||
<!-- Affichage de la liste des prochaines formation--> |
<formations-table [rechercherParStatutFormation]="rechercherParStatutFormation" [displayedColumns]="displayedColumns"></formations-table> |
||||||
<mat-table [dataSource]="this.dataSource"> |
|
||||||
<ng-container matColumnDef="intitule"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Intitulé</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{ row.intitule }}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef=participants> |
|
||||||
<mat-header-cell *matHeaderCellDef>Nb participants</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{ row.nbParticipants }}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef="date"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Date prévisionnelle</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{ row.dateDebut | date:'dd/MM/yyyy à hh:mm' }}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef="origine"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Origine</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{row.origine.libelle}}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef="statut"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Statut</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{row.statut.libelle}}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<ng-container matColumnDef="certification"> |
|
||||||
<mat-header-cell *matHeaderCellDef>Certifiée</mat-header-cell> |
|
||||||
<mat-cell *matCellDef="let row">{{estCertifiee(row.estCertifiee)}}</mat-cell> |
|
||||||
</ng-container> |
|
||||||
|
|
||||||
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row> |
|
||||||
<!-- Lien vers les détails d'une formation--> |
|
||||||
<mat-row *matRowDef="let row; columns: displayedColumns;" [routerLink]="['/formations',row.id]"></mat-row> |
|
||||||
</mat-table> |
|
||||||
<!--[length]="taille"--> |
|
||||||
<mat-paginator #paginator |
|
||||||
[length] = "taille" |
|
||||||
[pageIndex]="numPage-1" |
|
||||||
[pageSize]="parPage" |
|
||||||
[pageSizeOptions]="pageOption" |
|
||||||
(page)="pageEvent = updatePageInfo($event)" |
|
||||||
> |
|
||||||
</mat-paginator> |
|
Loading…
Reference in new issue