From 7bd35660cabd37a0706f38c62f842b4aebbfc4d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20PAILHAREY?= <rpailharey@grandlyon.com> Date: Fri, 30 Aug 2024 14:29:18 +0000 Subject: [PATCH] feat: wording changes --- .../structure-contact/structure-contact.component.html | 2 +- ...ucture-digital-helping-accompaniment.component.html | 6 +----- .../structure-equipments.component.html | 2 +- .../information-screen.component.html | 10 +++++----- .../needs-selection/needs-selection.component.html | 2 +- .../needs-selection/needs-selection.component.ts | 4 ++-- .../online-demarch.component.html | 4 ++-- src/app/header/header.component.html | 6 +++--- .../newsletter-subscription.component.html | 6 +++--- src/app/services/user.service.ts | 6 ++++-- .../structure-details/structure-details.component.html | 3 +-- .../structure-join/structure-join.component.html | 6 +++--- .../structure-join/structure-join.component.ts | 4 +++- 13 files changed, 30 insertions(+), 31 deletions(-) diff --git a/src/app/form/form-view/structure-form/structure-contact/structure-contact.component.html b/src/app/form/form-view/structure-form/structure-contact/structure-contact.component.html index e20f7c48f..0090c36ff 100644 --- a/src/app/form/form-view/structure-form/structure-contact/structure-contact.component.html +++ b/src/app/form/form-view/structure-form/structure-contact/structure-contact.component.html @@ -1,7 +1,7 @@ <form *ngIf="structureForm" [formGroup]="structureForm"> <app-go-back *ngIf="isEditMode" (action)="goBack()" /> <div class="title"> - <h3>Comment joindre votre structure ?</h3> + <h3>Comment joindre la structure ?</h3> <p>Veuillez renseigner au moins un des 2 champs</p> </div> <div class="formGroup"> diff --git a/src/app/form/form-view/structure-form/structure-digital-helping-accompaniment/structure-digital-helping-accompaniment.component.html b/src/app/form/form-view/structure-form/structure-digital-helping-accompaniment/structure-digital-helping-accompaniment.component.html index 77273bdf5..af370db3f 100644 --- a/src/app/form/form-view/structure-form/structure-digital-helping-accompaniment/structure-digital-helping-accompaniment.component.html +++ b/src/app/form/form-view/structure-form/structure-digital-helping-accompaniment/structure-digital-helping-accompaniment.component.html @@ -1,7 +1,7 @@ <form *ngIf="structureForm && onlineProcedures" [formGroup]="structureForm"> <app-go-back *ngIf="isEditMode" (action)="goBack()" /> <div class="title"> - <h3>La structure propose-t-elle une aide gratuite<sup>*</sup> aux démarches en ligne ?</h3> + <h3>La structure propose-t-elle une aide aux démarches en ligne ?</h3> <p>Facultatif - Plusieurs choix possibles</p> <p *ngIf="isEditMode" class="info"> Il s’agit de l’offre globale de la structure. L’offre proposée par les accompagnant·es numériques au sein de la @@ -18,8 +18,4 @@ (action)="updateChoiceAccompaniment(accompaniment.id)" /> </div> - <p class="form-details"> - <sup>*</sup> La plateforme Rés'in n'a pas vocation à référencer les structures qui proposent un accompagnement - payant aux démarches administratives - </p> </form> diff --git a/src/app/form/form-view/structure-form/structure-equipments/structure-equipments.component.html b/src/app/form/form-view/structure-form/structure-equipments/structure-equipments.component.html index 15bfe7d66..157ffb415 100644 --- a/src/app/form/form-view/structure-form/structure-equipments/structure-equipments.component.html +++ b/src/app/form/form-view/structure-form/structure-equipments/structure-equipments.component.html @@ -1,7 +1,7 @@ <form [formGroup]="structureForm"> <app-go-back *ngIf="isEditMode" (action)="goBack()" /> <div class="title"> - <h3>La structure propose-t-elle du matériel numérique en libre service ?</h3> + <h3>La structure propose-t-elle du matériel numérique en accès libre ?</h3> <p>Facultatif</p> </div> <div class="equipments"> diff --git a/src/app/form/orientation-form-view/global-components/information-screen/information-screen.component.html b/src/app/form/orientation-form-view/global-components/information-screen/information-screen.component.html index 3050064bd..cd759a913 100644 --- a/src/app/form/orientation-form-view/global-components/information-screen/information-screen.component.html +++ b/src/app/form/orientation-form-view/global-components/information-screen/information-screen.component.html @@ -1,15 +1,15 @@ <div class="container"> <img src="../../../../../assets/img/orientationBeginning.svg" alt="" /> <ng-container *ngIf="accompanimentType === AccompanimentTypes.appointment"> - <h2>Vous vous apprêtez à demander un rendez-vous auprès d'un·e accompagnant·e numérique</h2> + <h2>Vous allez demander un rendez-vous d'accompagnement numérique</h2> <p> - Ces professionnel·les peuvent aider à la prise en main des services administratifs en ligne, mais ne sont pas - expert·es de l’accès aux droits. Si la personne a besoin d’aide sur le fond d’une démarche administrative, merci - de l’orienter vers un lieu du type “Maison France Service”. + Attention : l'accompagnement portera uniquement sur la prise en main (aide à la connexion et à l'utilisation du + service). Si la personne a des questions sur la démarche administrative en elle-même, orientez-la plutôt vers une + Maison France Service ou vers l'administration concernée. </p> </ng-container> <ng-container *ngIf="accompanimentType === AccompanimentTypes.onlineMediation"> - <h2>Vous vous apprêtez à choisir un créneau de médiation numérique à distance</h2> + <h2>Vous allez choisir un créneau de médiation numérique à distance</h2> <p> Ce service d’accompagnement permettra à la personne d'être assistée depuis son domicile dans ses usages numériques. diff --git a/src/app/form/orientation-form-view/global-components/needs-selection/needs-selection.component.html b/src/app/form/orientation-form-view/global-components/needs-selection/needs-selection.component.html index 3139ed09a..d3469292e 100644 --- a/src/app/form/orientation-form-view/global-components/needs-selection/needs-selection.component.html +++ b/src/app/form/orientation-form-view/global-components/needs-selection/needs-selection.component.html @@ -1,6 +1,6 @@ <div class="orientationForm"> <div class="title"> - <h2>Quels sont les besoins de la personne ?</h2> + <h2>Quels est le besoin de la personne ?</h2> <p>Un seul choix possible</p> </div> <div class="formGroup"> diff --git a/src/app/form/orientation-form-view/global-components/needs-selection/needs-selection.component.ts b/src/app/form/orientation-form-view/global-components/needs-selection/needs-selection.component.ts index 722098182..7ffcfd094 100644 --- a/src/app/form/orientation-form-view/global-components/needs-selection/needs-selection.component.ts +++ b/src/app/form/orientation-form-view/global-components/needs-selection/needs-selection.component.ts @@ -17,13 +17,13 @@ export class NeedsSelectionComponent implements OnInit { public needsList: INeedItem[] = [ { - title: 'Accéder à du matériel numérique en libre service', + title: 'Matériel et wifi en accès libre', hint: '(Wifi, ordinateur, imprimante, scanner…)', key: NeedsTypes.equipmentAccess, icon: 'orientationIndex0', }, { - title: 'Acheter du matériel numérique à tarif solidaire', + title: 'Achat de matériel à tarif solidaire', hint: '(Ordinateur, smartphone, clé 4G, forfait internet…)', key: NeedsTypes.equipmentBuy, icon: 'orientationIndex1', diff --git a/src/app/form/orientation-form-view/online-demarch/online-demarch-common/online-demarch.component.html b/src/app/form/orientation-form-view/online-demarch/online-demarch-common/online-demarch.component.html index bd8e38836..101b30bfb 100644 --- a/src/app/form/orientation-form-view/online-demarch/online-demarch-common/online-demarch.component.html +++ b/src/app/form/orientation-form-view/online-demarch/online-demarch-common/online-demarch.component.html @@ -19,8 +19,8 @@ (closed)="handleClose()" > <div class="modalContent"> - Les premières demandes de titres de séjour doivent être redirigées vers les associations spécialisées sur les - droits des étrangers. + Les premières demandes de titres de séjour doivent être orientées vers une permanence d’aide juridique. + <div>(<a href="https://watizat.org/guides-lyon/" target="_blank">voir la liste dans le guide Watizat</a>)</div> </div> </app-modal> </div> diff --git a/src/app/header/header.component.html b/src/app/header/header.component.html index 2cf2d5b3a..da5ea1df3 100644 --- a/src/app/header/header.component.html +++ b/src/app/header/header.component.html @@ -62,12 +62,12 @@ <a routerLink="/orientation" role="menuitem" - title="Orienter un bénéficiaire" + title="Orienter des bénéficiaires" [routerLinkActive]="'active'" i18n [attr.aria-current]="isActive('/orientation')" > - Orienter un bénéficiaire + Orienter des bénéficiaires </a> <a routerLink="/annuaire" @@ -149,7 +149,7 @@ [attr.aria-current]="isActive('/orientation')" (click)="closeMenu()" i18n - >Orienter un bénéficiaire</a + >Orienter des bénéficiaires</a > <a routerLink="/annuaire" diff --git a/src/app/newsletter-subscription/newsletter-subscription.component.html b/src/app/newsletter-subscription/newsletter-subscription.component.html index a61319183..49b52d3e1 100644 --- a/src/app/newsletter-subscription/newsletter-subscription.component.html +++ b/src/app/newsletter-subscription/newsletter-subscription.component.html @@ -1,10 +1,10 @@ <form class="newsletterForm" [formGroup]="subscriptionForm" (ngSubmit)="onSubmit()"> - <h2 *ngIf="subscriptionMod">Inscription à la newsletter</h2> - <h2 *ngIf="!subscriptionMod">Désabonnement de la newsletter</h2> + <h2 *ngIf="subscriptionMod">Abonnement aux informations Rés'in</h2> + <h2 *ngIf="!subscriptionMod">Désabonnement des informations Rés'in</h2> <app-input id="email" - label="Courriel personnel" + label="Adresse email" autocomplete="on" size="large" [wide]="true" diff --git a/src/app/services/user.service.ts b/src/app/services/user.service.ts index 795bd3d31..9e8c6f6cc 100644 --- a/src/app/services/user.service.ts +++ b/src/app/services/user.service.ts @@ -21,8 +21,10 @@ export class UserService { return this.http.post<any>(`${this.baseUrl}/join-request/${id}`, { email }); } - public validateJoinStructure(token: string, status: string): Observable<any> { - return this.http.get<Structure>(`${this.baseUrl}/join-validate/${token}/${status}`); + public validateJoinStructure(token: string, status: string): Observable<{ structure: Structure; username: string }> { + return this.http.get<{ structure: Structure; username: string }>( + `${this.baseUrl}/join-validate/${token}/${status}`, + ); } public cancelJoin(idStructure: string, idUser: string): Observable<any> { return this.http.get<any>(`${this.baseUrl}/join-cancel/${idStructure}/${idUser} diff --git a/src/app/structure-list/components/structure-details/structure-details.component.html b/src/app/structure-list/components/structure-details/structure-details.component.html index 0d967edc1..0da2a6c66 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.html +++ b/src/app/structure-list/components/structure-details/structure-details.component.html @@ -427,8 +427,7 @@ (closed)="$event ? sendErrorEmail(true, myText.value) : sendErrorEmail(false)" > <p> - Votre commentaire sera envoyé aux administrateurs pour une prise en compte de votre remarque. Si vous souhaitez - avoir un retour, merci de préciser votre contact. + Votre commentaire sera envoyé à l’équipe Rés'in. Si vous souhaitez avoir un retour, merci de préciser votre contact. </p> <app-textarea #myText diff --git a/src/app/structure/structure-join/structure-join.component.html b/src/app/structure/structure-join/structure-join.component.html index 67f2d7894..1b4953586 100644 --- a/src/app/structure/structure-join/structure-join.component.html +++ b/src/app/structure/structure-join/structure-join.component.html @@ -41,11 +41,11 @@ {{ errorEnum.AlreadyLinked }} </h2> <h2 *ngIf="this.structureJoined && !errorStatus"> - L'utilisateur a été {{ isStructureJoinValidated === 'true' ? 'accepté' : 'refusé' }} dans la structure. + Nouveau membre {{ isStructureJoinValidated === 'true' ? 'accepté' : 'refusé' }} </h2> <div *ngIf="this.structureJoined && !errorStatus" class="subtitle"> - Vous avez {{ isStructureJoinValidated === 'true' ? 'accepté' : 'refusé' }} la demande d'ajout dans la - structure + Vous avez {{ isStructureJoinValidated === 'true' ? 'accepté' : 'refusé' }} la demande d'ajout de + {{ newUserName }} dans la structure {{ structureJoined.structureName }} </div> <div *ngIf="errorStatus && (errorStatus === 403 || errorStatus === 422)" class="subtitle"> diff --git a/src/app/structure/structure-join/structure-join.component.ts b/src/app/structure/structure-join/structure-join.component.ts index 5180bf1c8..ef7ca11db 100644 --- a/src/app/structure/structure-join/structure-join.component.ts +++ b/src/app/structure/structure-join/structure-join.component.ts @@ -21,6 +21,7 @@ export class StructureJoinComponent implements OnInit { public validationToken = null; public isLoading: boolean; public structureJoined: Structure; + public newUserName: string; public errorStatus: number; public errorEnum = JoinErrors; @@ -51,7 +52,8 @@ export class StructureJoinComponent implements OnInit { if (this.isStructureJoinValidated !== null && this.validationToken) { this.usersService.validateJoinStructure(this.validationToken, this.isStructureJoinValidated).subscribe({ next: (res) => { - this.structureJoined = res; + this.structureJoined = res.structure; + this.newUserName = res.username; }, error: (err) => { this.errorStatus = err.status; -- GitLab