parent
3da51faa9d
commit
ce3b6d78eb
@ -1,2 +1,32 @@ |
||||
<app-nav-menu></app-nav-menu> |
||||
<h1>Liste des formations </h1> |
||||
|
||||
<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.datePrevu }}</mat-cell> |
||||
</ng-container> |
||||
|
||||
<!--<ng-container matColumnDef="origine"> |
||||
<mat-header-cell></mat-header-cell> |
||||
<mat-cell *matCellDef="let row"></mat-cell> |
||||
</ng-container>--> |
||||
|
||||
<ng-container matColumnDef="statut"> |
||||
<mat-header-cell *matHeaderCellDef>Statut</mat-header-cell> |
||||
<mat-cell *matCellDef="let row">{{ getStatut(row.statut) }}</mat-cell> |
||||
</ng-container> |
||||
|
||||
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row> |
||||
<mat-row *matRowDef="let row; columns: displayedColumns;" [routerLink]="['/formations',row.id]"></mat-row> |
||||
</mat-table> |
||||
|
@ -1 +1,31 @@ |
||||
<h1> Page RH </h1> |
||||
|
||||
<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.datePrevu }}</mat-cell> |
||||
</ng-container> |
||||
|
||||
<!--<ng-container matColumnDef="origine"> |
||||
<mat-header-cell></mat-header-cell> |
||||
<mat-cell *matCellDef="let row"></mat-cell> |
||||
</ng-container>--> |
||||
|
||||
<ng-container matColumnDef="statut"> |
||||
<mat-header-cell *matHeaderCellDef>Statut</mat-header-cell> |
||||
<mat-cell *matCellDef="let row">{{ getStatut(row.statut) }}</mat-cell> |
||||
</ng-container> |
||||
|
||||
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row> |
||||
<mat-row *matRowDef="let row; columns: displayedColumns;" [routerLink]="['/formations',row.id]"></mat-row> |
||||
</mat-table> |
||||
|
Loading…
Reference in new issue