|
|
@ -4,14 +4,15 @@ |
|
|
|
<img routerLink="/home" src="../../assets/img/logo.png"> |
|
|
|
<img routerLink="/home" src="../../assets/img/logo.png"> |
|
|
|
<!--LIEN VERS HOME--> |
|
|
|
<!--LIEN VERS HOME--> |
|
|
|
<button mat-button routerLink="/home">Accueil</button> |
|
|
|
<button mat-button routerLink="/home">Accueil</button> |
|
|
|
|
|
|
|
<button mat-button mat-button *ngIf="this.userRole == role.commercial || this.userRole == role.collaborateur">EP</button> |
|
|
|
<!--MENU EN FONCTION DES ROLES--> |
|
|
|
<!--MENU EN FONCTION DES ROLES--> |
|
|
|
<app-nav-menu-assistante *ngIf="this.userRole == role.assistante"></app-nav-menu-assistante> |
|
|
|
<app-nav-menu-assistante *ngIf="this.userRole == role.assistante"></app-nav-menu-assistante> |
|
|
|
<app-nav-menu-collaborateur *ngIf="this.userRole == role.collaborateur"></app-nav-menu-collaborateur> |
|
|
|
<app-nav-menu-collaborateur *ngIf="this.userRole == role.collaborateur"></app-nav-menu-collaborateur> |
|
|
|
<app-nav-menu-commercial *ngIf="this.userRole == role.commercial"></app-nav-menu-commercial> |
|
|
|
<app-nav-menu-commercial *ngIf="this.userRole == role.commercial"></app-nav-menu-commercial> |
|
|
|
<app-nav-menu-rh *ngIf="this.userRole == role.rh"></app-nav-menu-rh> |
|
|
|
<app-nav-menu-rh *ngIf="this.userRole == role.rh"></app-nav-menu-rh> |
|
|
|
<button mat-button *ngIf="this.userRole == role.commercial || this.userRole == role.collaborateur" routerLink="/demandesdelegation">Demandes de délégation</button> |
|
|
|
<button mat-button *ngIf="this.userRole == role.commercial || this.userRole == role.collaborateur" routerLink="/demandesdelegation">Demandes de délégation</button> |
|
|
|
<!--METTRE QUELQUE CHOSE DE SIMILAIRE A SYGES--> |
|
|
|
<button mat-button *ngIf="this.userRole == role.commercial || this.userRole == role.collaborateur" >Demandes d'EPI</button> |
|
|
|
<!--<button mat-button on-click="logout()"> logout </button>--> |
|
|
|
|
|
|
|
<button mat-button [matMenuTriggerFor]="menuMore"> |
|
|
|
<button mat-button [matMenuTriggerFor]="menuMore"> |
|
|
|
<span> {{this.userInfo}}</span> |
|
|
|
<span> {{this.userInfo}}</span> |
|
|
|
<mat-icon>more_vert</mat-icon> |
|
|
|
<mat-icon>more_vert</mat-icon> |
|
|
|