From de230889cce920786d9d48f56084c23c012d4703 Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Wed, 24 Feb 2021 16:51:02 +0100
Subject: [PATCH] fix: wording for form / profile and outdated page

---
 nginx/outdated.html                    |  6 +++---
 src/app/form/form.component.html       | 14 ++++++++++----
 src/app/profile/profile.component.html |  2 +-
 3 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/nginx/outdated.html b/nginx/outdated.html
index 9403101b5..24987fe33 100644
--- a/nginx/outdated.html
+++ b/nginx/outdated.html
@@ -2,14 +2,14 @@
 <html lang="fr">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <title>RESIN: Navigateur incompatible</title>
+    <title>RES'in: Navigateur incompatible</title>
   </head>
 
   <body>
     <div>
-      <h1>Navigateur incompatible</h1>
+      <h1>Navigateur obsolète</h1>
       <p>
-        Votre navigateur ne vous permet pas d'accéder à RESIN dans de bonnes conditions. Merci d'utiliser
+        Votre navigateur ne vous permet pas d'accéder à RES'in dans de bonnes conditions. Merci d'utiliser
         <a href="https://www.mozilla.org/fr/firefox/new/">Firefox</a>,
         <a href="https://www.google.com/intl/fr/chrome/">Chrome</a>, ou la dernière version d'<a
           href="https://www.microsoft.com/fr-fr/edge"
diff --git a/src/app/form/form.component.html b/src/app/form/form.component.html
index dbfe52fe2..b88d6be47 100644
--- a/src/app/form/form.component.html
+++ b/src/app/form/form.component.html
@@ -48,7 +48,7 @@
         <p>Une fois réalisé cela vous permettra d'être référencé sur la platefome</p>
       </div>
       <div class="btnStart">
-        <button class="btn-primary start" (click)="nextPage()">C'est Parti</button>
+        <button class="btn-primary start" (click)="nextPage()">C'est parti</button>
       </div>
     </div>
     <div
@@ -65,7 +65,7 @@
         <p>Une fois réalisé cela vous permettra de devenir propriétaire de cette structure</p>
       </div>
       <div class="btnStart">
-        <button class="btn-primary start" (click)="nextPage()">C'est Parti</button>
+        <button class="btn-primary start" (click)="nextPage()">C'est parti</button>
       </div>
     </div>
     <div
@@ -994,7 +994,13 @@
         démarches en ligne dans la Métropole de Lyon
       </p>
     </div>
-    <div *ngIf="currentPage == nbPagesForm && !profile" class="page" fxLayout="column" fxLayoutGap="69px">
+    <div
+      *ngIf="currentPage == nbPagesForm && !profile"
+      class="page"
+      fxLayout="column"
+      fxLayoutAlign="center center"
+      fxLayoutGap="69px"
+    >
       <svg aria-hidden="true">
         <use [attr.xlink:href]="'assets/form/sprite.svg#emailVerification'"></use>
       </svg>
@@ -1008,7 +1014,7 @@
         </h3>
       </div>
 
-      <div class="structureInfoBlock" fxLayout="row" fxLayoutAlign=" center">
+      <div class="structureInfoBlock" fxLayout="row" fxLayoutAlign="center">
         <div class="structureInfoContent" fxLayout="column">
           {{ getStructureControl('structureName').value }}
           <span>{{ getStructureControl('structureType').value }}</span>
diff --git a/src/app/profile/profile.component.html b/src/app/profile/profile.component.html
index d0a27a13b..4a5e03d17 100644
--- a/src/app/profile/profile.component.html
+++ b/src/app/profile/profile.component.html
@@ -6,7 +6,7 @@
       </svg>
       <div class="profileInformation" fxLayoutGap="18px" fxLayout="column">
         <div fxLayout="row" fxLayoutAlign="space-between center">
-          <p class="profileName">{{ userProfile.surname | titlecase }} {{ userProfile.name | titlecase }}</p>
+          <p class="profileName">{{ userProfile.name | titlecase }} {{ userProfile.surname | titlecase }}</p>
           <button class="btn-primary" (click)="logout()">Déconnexion</button>
         </div>
         <div class="profileEmail" fxLayout="column">
-- 
GitLab