diff --git a/apps/maarch_entreprise/Views/info-change-password-modal.component.html b/apps/maarch_entreprise/Views/info-change-password-modal.component.html new file mode 100644 index 0000000000000000000000000000000000000000..ef436a3055a3fdebf5b2bfeaeca993c0b687c300 --- /dev/null +++ b/apps/maarch_entreprise/Views/info-change-password-modal.component.html @@ -0,0 +1,9 @@ +<h2 mat-dialog-title color="primary" *ngIf="data.state=='BEGIN'">{{lang.hello}} <b>{{data.user.firstname}} {{data.user.lastname}}</b>, <br/>{{lang.changePasswordInfo}}.</h2> +<h2 mat-dialog-title color="primary" *ngIf="data.state=='END'"><i class="fa fa-check-circle fa-2x"></i> <span style="padding-left: 10px;">{{lang.passwordChanged}}</span></h2> + +<mat-dialog-content> + <mat-dialog-actions style="margin: 5px;margin-bottom:0px;justify-content:center;"> + <button mat-raised-button color="primary" (click)="dialogRef.close()" *ngIf="data.state=='BEGIN'">Ok</button> + <button mat-raised-button color="primary" (click)="logout()" *ngIf="data.state=='END'">{{lang.reconnect}}</button> + </mat-dialog-actions> +</mat-dialog-content> \ No newline at end of file