diff --git a/src/app/form/form.component.html b/src/app/form/form.component.html index 24a36a2122e8296b621993379d3e89820e3e3774..d0d588e89a7dc52ec0d3f87914ee0db1adc6d22e 100644 --- a/src/app/form/form.component.html +++ b/src/app/form/form.component.html @@ -1144,7 +1144,7 @@ <button *ngIf="currentPage == nbPagesForm && !profile" class="btn-primary validate unique" - routerLink="/home" + routerLink="/acteurs" [routerLinkActive]="'active'" > Ok @@ -1152,7 +1152,7 @@ <button *ngIf="currentPage == nbPagesForm && profile" class="btn-primary unique" - routerLink="/home" + routerLink="/acteurs" [queryParams]="{ id: createdStructure._id }" [state]="{ data: createdStructure }" > @@ -1187,7 +1187,7 @@ <button *ngIf="currentPage == nbPagesForm && !profile" class="btn-primary validate unique" - routerLink="/home" + routerLink="/acteurs" [routerLinkActive]="'active'" > Ok @@ -1195,7 +1195,7 @@ <button *ngIf="currentPage == nbPagesForm && profile" class="btn-primary unique" - routerLink="/home" + routerLink="/acteurs" [queryParams]="{ id: createdStructure._id }" [state]="{ data: createdStructure }" > diff --git a/src/app/structure-join/structure-join.component.ts b/src/app/structure-join/structure-join.component.ts index 59d6ae04f9a18ac5af666aa681adebe1c1dc3538..e4e8d657d4ab4250938f84543db84101e221bd10 100644 --- a/src/app/structure-join/structure-join.component.ts +++ b/src/app/structure-join/structure-join.component.ts @@ -20,10 +20,10 @@ export class StructureJoinComponent implements OnInit { .validateStructureJoin(params.get('id'), params.get('userId'), params.get('status') === 'true' ? true : false) .subscribe( (res) => { - this.router.navigateByUrl('/home'); + this.router.navigateByUrl('/acteurs'); }, (err) => { - this.router.navigateByUrl('/home'); + this.router.navigateByUrl('/acteurs'); } ); } diff --git a/src/app/user-verification/user-verification.component.html b/src/app/user-verification/user-verification.component.html index 63417c23d5c855dabf6714a97a14fc85df52be3d..67b0aa725457b6db9282e964ab6f65c48f2ffa74 100644 --- a/src/app/user-verification/user-verification.component.html +++ b/src/app/user-verification/user-verification.component.html @@ -20,7 +20,7 @@ <button *ngIf="verificationSuccess" class="btn" - routerLink="/home" + routerLink="/acteurs" [queryParams]="{ id: structure._id }" [state]="{ data: structure }" > @@ -50,7 +50,7 @@ Donnez nous votre avis: vous pouvez participer à l'amélioration de Rés'in en répondant à ces quelques questions </div> <div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="24px" [style.margin-top]="'50px'"> - <button class="button" routerLink="/home">Je passe mon tour</button> + <button class="button" routerLink="/acteurs">Je passe mon tour</button> <a *ngIf="structure" target="_blank"