From e6883d387493931e9b680a826e10cfa070f83a63 Mon Sep 17 00:00:00 2001
From: Bertrand GAUTHIER <bertrand.gauthier@unicaen.fr>
Date: Fri, 3 Sep 2021 12:13:54 +0200
Subject: [PATCH] Renommage de l'application en ESUP-SyGAL

---
 CHANGELOG.md                                                | 1 +
 INSTALL.md                                                  | 2 +-
 README.md                                                   | 2 +-
 bin/database/src/README.template.md                         | 6 +++---
 bin/database/src/build_db_files.template.sh                 | 2 +-
 bin/database/src/sql/insert_bootstrap_data.template.sql     | 6 +++---
 config/autoload/global.php                                  | 2 +-
 config/autoload/unicaen-app.global.php                      | 2 +-
 data/cron/cron.dist                                         | 2 +-
 doc/INSTALL.md                                              | 2 +-
 .../src/Application/Controller/AbstractController.php       | 2 ++
 .../Application/Controller/MailConfirmationController.php   | 5 +++--
 .../Exporter/JustificatifCoencadrements/footer.phtml        | 2 +-
 .../Application/Service/Notification/NotifierService.php    | 4 ++--
 .../src/Application/Service/Source/SourceService.php        | 2 +-
 .../Application/Service/Utilisateur/UtilisateurService.php  | 2 +-
 .../Application/view/application/president-jury/index.phtml | 2 +-
 .../application/rapport/rapport-activite/consulter.phtml    | 2 +-
 module/Application/view/application/utilisateur/voir.phtml  | 2 +-
 module/Information/config/module.config.php                 | 2 +-
 .../src/Soutenance/Controller/PresoutenanceController.php   | 2 +-
 .../Soutenance/Service/Exporter/AvisSoutenance/footer.phtml | 2 +-
 .../Soutenance/Service/Exporter/ProcesVerbal/footer.phtml   | 2 +-
 .../Service/Notifier/NotifierSoutenanceService.php          | 4 ++--
 module/Soutenance/view/soutenance/index/index-acteur.phtml  | 4 ++--
 .../view/soutenance/notification/connexion-rapporteur.phtml | 2 +-
 .../soutenance/notification/demande-avis-soutenance.phtml   | 2 +-
 .../view/soutenance/notification/devalidation.phtml         | 4 ++--
 .../notification/engagement-impartialite-demande.phtml      | 2 +-
 .../view/soutenance/notification/init-compte.phtml          | 2 +-
 .../view/soutenance/notification/validation-acteur.phtml    | 4 ++--
 .../soutenance/notification/validation-soutenance.phtml     | 4 ++--
 .../view/soutenance/notification/validation-structure.phtml | 4 ++--
 .../soutenance/presoutenance/partial/association-jury.phtml | 6 +++---
 .../soutenance/presoutenance/partial/avis-soutenance.phtml  | 2 +-
 .../presoutenance/partial/engagement-impartialite.phtml     | 2 +-
 .../Soutenance/view/soutenance/proposition/avancement.phtml | 2 +-
 37 files changed, 53 insertions(+), 49 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index f7725b2f0..1b1e5ebc8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@ Journal des modifications
 
 3.0.1
 -----
+- Renommage de l'application en ESUP-SyGAL.
 - [FIX] Bloquage de la signature multiple de l'engagement d'impartilité
 - [FIX] Correction du tri des thèses par titre (plantage) et par date de soutenance (inopérant)
 
diff --git a/INSTALL.md b/INSTALL.md
index df129d995..2a2ce2ec0 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1,3 +1,3 @@
-# Installation de SyGAL
+# Installation de ESUP-SyGAL
 
 Reportez-vous à [cette page](doc/INSTALL.md).
diff --git a/README.md b/README.md
index 202d9cace..bf886ea06 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Application SyGAL
+# Application ESUP-SyGAL
 
 SYstème de Gestion et d'Accompagement doctoraL
 
diff --git a/bin/database/src/README.template.md b/bin/database/src/README.template.md
index c736c6208..da00eb69d 100644
--- a/bin/database/src/README.template.md
+++ b/bin/database/src/README.template.md
@@ -1,7 +1,7 @@
-Création d'une base de données pour SyGAL
-=========================================
+Création d'une base de données pour ESUP-SyGAL
+==============================================
 
-Les fichiers fournis permettant de créer une base de données pour SyGAL sont :
+Les fichiers fournis permettant de créer une base de données pour ESUP-SyGAL sont :
 
 - d'une part, le fichier de config et le script bash de construction :
     - [`build_db_files.conf.dist`](build_db_files.conf.dist) (à adpater puis à renommer en `.conf`)
diff --git a/bin/database/src/build_db_files.template.sh b/bin/database/src/build_db_files.template.sh
index fad78a9e1..e9a8d41f9 100755
--- a/bin/database/src/build_db_files.template.sh
+++ b/bin/database/src/build_db_files.template.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 #
-# Script bash de préparation des scripts SQL permettant de créer une base de données pour SyGAL.
+# Script bash de préparation des scripts SQL permettant de créer une base de données pour ESUP-SyGAL.
 #
 
 usage() {
diff --git a/bin/database/src/sql/insert_bootstrap_data.template.sql b/bin/database/src/sql/insert_bootstrap_data.template.sql
index 3e6ca92b2..ba52bfc43 100644
--- a/bin/database/src/sql/insert_bootstrap_data.template.sql
+++ b/bin/database/src/sql/insert_bootstrap_data.template.sql
@@ -3,12 +3,12 @@
 --
 
 --
--- Sources de données SyGAL.
+-- Sources de données ESUP-SyGAL.
 --
 delete from source where code = 'SYGAL::sygal'
 ;
 insert into source (id, code, libelle, importable)
-values (1, 'SYGAL::sygal', 'SyGAL', false)
+values (1, 'SYGAL::sygal', 'ESUP-SyGAL', false)
 ;
 
 --
@@ -17,7 +17,7 @@ values (1, 'SYGAL::sygal', 'SyGAL', false)
 delete from utilisateur where username = 'sygal-app'
 ;
 insert into utilisateur (id, username, display_name, password)
-values (1, 'sygal-app', 'Application SyGAL', 'ldap')
+values (1, 'sygal-app', 'Application ESUP-SyGAL', 'ldap')
 ;
 
 --
diff --git a/config/autoload/global.php b/config/autoload/global.php
index 7ec196971..972968fe9 100644
--- a/config/autoload/global.php
+++ b/config/autoload/global.php
@@ -47,7 +47,7 @@ return [
     // Options pour le service de notification par mail
     'notification' => [
         // préfixe à ajouter systématiquement devant le sujet des mails
-        'subject_prefix' => '[SyGAL]',
+        'subject_prefix' => '[ESUP-SyGAL]',
         // destinataires à ajouter systématiquement en copie simple ou cachée de tous les mails
         //'cc' => [],
         //'bcc' => [],
diff --git a/config/autoload/unicaen-app.global.php b/config/autoload/unicaen-app.global.php
index c0470db55..470a98cbb 100644
--- a/config/autoload/unicaen-app.global.php
+++ b/config/autoload/unicaen-app.global.php
@@ -8,7 +8,7 @@ return [
     'unicaen-app' => [
         // Informations concernant l'application.
         'app_infos' => [
-            'nom'     => "SyGAL",
+            'nom'     => "ESUP-SyGAL",
             'desc'    => "SYstème de Gestion et d'Accompagnement doctoraL",
             'version' => '?', // surchargée dans un autre fichier de config (ex: 'config/autoload/auto.version.local.php')
             'date'    => '?', // idem
diff --git a/data/cron/cron.dist b/data/cron/cron.dist
index 97d37a4b7..1689a2068 100755
--- a/data/cron/cron.dist
+++ b/data/cron/cron.dist
@@ -1,5 +1,5 @@
 #
-# Application SyGAL.
+# Application ESUP-SyGAL.
 #
 
 MAILTO=bertrand.gauthier@unicaen.fr
diff --git a/doc/INSTALL.md b/doc/INSTALL.md
index 8e15a74a8..a32e347ba 100644
--- a/doc/INSTALL.md
+++ b/doc/INSTALL.md
@@ -1,4 +1,4 @@
-# Installation de SyGAL
+# Installation de ESUP-SyGAL
 
 
 
diff --git a/module/Application/src/Application/Controller/AbstractController.php b/module/Application/src/Application/Controller/AbstractController.php
index a4b2cf629..7babf70b6 100755
--- a/module/Application/src/Application/Controller/AbstractController.php
+++ b/module/Application/src/Application/Controller/AbstractController.php
@@ -14,6 +14,7 @@ use Application\RouteMatch;
 use Application\Service\UserContextServiceAwareInterface;
 use Application\Service\UserContextServiceAwareTrait;
 use BjyAuthorize\Exception\UnAuthorizedException;
+use UnicaenApp\Controller\Plugin\AppInfos;
 use UnicaenApp\Controller\Plugin\ConfirmPlugin;
 use UnicaenApp\Controller\Plugin\Mail;
 use UnicaenApp\Exception\RuntimeException;
@@ -37,6 +38,7 @@ use ZfcUser\Controller\Plugin\ZfcUserAuthentication;
  * @method Mail mail()
  * @method ConfirmPlugin confirm()
  * @method FlashMessenger flashMessenger()
+ * @method AppInfos appInfos()
  */
 class AbstractController extends AbstractActionController
     implements UserContextServiceAwareInterface
diff --git a/module/Application/src/Application/Controller/MailConfirmationController.php b/module/Application/src/Application/Controller/MailConfirmationController.php
index 569957d05..7f5215746 100644
--- a/module/Application/src/Application/Controller/MailConfirmationController.php
+++ b/module/Application/src/Application/Controller/MailConfirmationController.php
@@ -103,17 +103,18 @@ class MailConfirmationController extends AbstractController {
         //$this->mailConfirmationService->generateCode($id);
         $mailConfirmation = $this->mailConfirmationService->getDemandeById($id);
 
+        $appName = $this->appInfos()->getNom();
 
         $confirm = $this->url()->fromRoute('mail-confirmation-reception', ['id' => $mailConfirmation->getId(), 'code' => $mailConfirmation->getCode()], ['force_canonical' => true] , true);
         $destinataire = $mailConfirmation->getIndividu()->getPrenom1() ." ". $mailConfirmation->getIndividu()->getNomUsuel() . " " . "&lt;<tt>".$mailConfirmation->getEmail()."</tt>&gt;";
-        $titre = "[SyGAL] Confirmation de votre email";
+        $titre = "Confirmation de votre email";
         $corps = "<br/>"
             ."&nbsp;&nbsp;&nbsp;&nbsp;Bonjour,<br/><br/>"
             ."Pour finaliser l'enregistrement de votre email de contact veuillez confirmer celui-ci en cliquant sur le liens suivant :<br/>"
             ."<a href='".$confirm."'>"
             .$confirm
             ."</a><br/><br/>"
-            ."Une fois confirmé, cet email sera utilisé pour recevoir les notifications de SyGAL et vous permettera de vous connecter à SyGAL.";
+            ."Une fois confirmé, cet email sera utilisé pour recevoir les notifications de $appName et vous permettera de vous connecter à $appName.";
 
 
         $this->notifierService->triggerMailConfirmation($mailConfirmation, $titre, $corps);
diff --git a/module/Application/src/Application/Service/CoEncadrant/Exporter/JustificatifCoencadrements/footer.phtml b/module/Application/src/Application/Service/CoEncadrant/Exporter/JustificatifCoencadrements/footer.phtml
index 1c4813b7a..50210cd1d 100644
--- a/module/Application/src/Application/Service/CoEncadrant/Exporter/JustificatifCoencadrements/footer.phtml
+++ b/module/Application/src/Application/Service/CoEncadrant/Exporter/JustificatifCoencadrements/footer.phtml
@@ -15,7 +15,7 @@ $lieu = "l'Université de Caen Normandie";
 
         </td>
         <td style="text-align:right;">
-            Généré par SyGAL <br/>
+            Généré par <?php echo $this->appInfos()->nom ?> <br/>
             Le <?php echo $date->format('d/m/Y à H:i:s'); ?>
         </td>
     </tr>
diff --git a/module/Application/src/Application/Service/Notification/NotifierService.php b/module/Application/src/Application/Service/Notification/NotifierService.php
index 324d833f3..b42cd4bb3 100644
--- a/module/Application/src/Application/Service/Notification/NotifierService.php
+++ b/module/Application/src/Application/Service/Notification/NotifierService.php
@@ -382,7 +382,7 @@ class NotifierService extends \Notification\Service\NotifierService
         if (!empty($email)) {
             $notif = new Notification();
             $notif
-                ->setSubject("Initialisation de votre compte SyGAL")
+                ->setSubject("Initialisation de votre compte")
                 ->setTo($email)
                 ->setTemplatePath('application/utilisateur/mail/init-compte')
                 ->setTemplateVariables([
@@ -408,7 +408,7 @@ class NotifierService extends \Notification\Service\NotifierService
         if (!empty($email)) {
             $notif = new Notification();
             $notif
-                ->setSubject("Réinitialisation de votre mot de passe de votre compte SyGAL")
+                ->setSubject("Réinitialisation de votre mot de passe de votre compte")
                 ->setTo($email)
                 ->setTemplatePath('application/utilisateur/mail/reinit-compte')
                 ->setTemplateVariables([
diff --git a/module/Application/src/Application/Service/Source/SourceService.php b/module/Application/src/Application/Service/Source/SourceService.php
index cdf015406..ae0d02ad9 100755
--- a/module/Application/src/Application/Service/Source/SourceService.php
+++ b/module/Application/src/Application/Service/Source/SourceService.php
@@ -15,7 +15,7 @@ class SourceService extends BaseService
     const APPL_SOURCE_CODE = 'SYGAL::sygal';
 
     const SQL_TEMPLATE_CREATE_APP_SOURCE =
-        "INSERT INTO SOURCE (ID, CODE, LIBELLE, IMPORTABLE) VALUES (1, '%s', 'SyGAL', 0);";
+        "INSERT INTO SOURCE (ID, CODE, LIBELLE, IMPORTABLE) VALUES (1, '%s', 'ESUP-SyGAL', 0);";
 
     /**
      * @return EntityRepository
diff --git a/module/Application/src/Application/Service/Utilisateur/UtilisateurService.php b/module/Application/src/Application/Service/Utilisateur/UtilisateurService.php
index eb468e078..3bd94f5b4 100644
--- a/module/Application/src/Application/Service/Utilisateur/UtilisateurService.php
+++ b/module/Application/src/Application/Service/Utilisateur/UtilisateurService.php
@@ -26,7 +26,7 @@ class UtilisateurService extends BaseService
     use UserServiceAwareTrait;
 
     const SQL_CREATE_APP_USER =
-        "INSERT INTO UTILISATEUR (ID, USERNAME, EMAIL, DISPLAY_NAME, PASSWORD) VALUES (1, 'sygal-app', 'noreply@mail.fr', 'Application SyGAL', 'ldap');";
+        "INSERT INTO UTILISATEUR (ID, USERNAME, EMAIL, DISPLAY_NAME, PASSWORD) VALUES (1, 'sygal-app', 'noreply@mail.fr', 'Application ESUP-SyGAL', 'ldap');";
 
     /**
      * @return UtilisateurRepository
diff --git a/module/Application/view/application/president-jury/index.phtml b/module/Application/view/application/president-jury/index.phtml
index a4a1cd28a..41207437c 100644
--- a/module/Application/view/application/president-jury/index.phtml
+++ b/module/Application/view/application/president-jury/index.phtml
@@ -133,7 +133,7 @@ $canNotifierPresident     = $this->isAllowed(PresidentJuryPrivileges::getResourc
 <?php echo $this->messenger()->addMessagesFromFlashMessengerWithNoNamespace() ?>
 
      <p>
-         Dans le tableau ci-dessous vous retrouvez la liste des président de jury remonté dans SyGAL pour les thèses en attente de correction.
+         Dans le tableau ci-dessous vous retrouvez la liste des président de jury remonté dans <?php echo $this->appInfos()->nom ?> pour les thèses en attente de correction.
      </p>
 
     <p>
diff --git a/module/Application/view/application/rapport/rapport-activite/consulter.phtml b/module/Application/view/application/rapport/rapport-activite/consulter.phtml
index 264b6f5b1..4b685261c 100644
--- a/module/Application/view/application/rapport/rapport-activite/consulter.phtml
+++ b/module/Application/view/application/rapport/rapport-activite/consulter.phtml
@@ -63,7 +63,7 @@ if ($tousLesRapportsTeleverses) {
     <li>
         <strong>Vous devez rédiger un rapport d'activité de fin de thèse</strong> au moment de votre soutenance.
         Dans ce cas, les données indiquées doivent couvrir l'ensemble de la thèse. Il doit être
-        <strong>déposé ci-dessous dans l’application SyGAL au maximum 1 mois avant votre date de soutenance.</strong>
+        <strong>déposé ci-dessous dans l’application <?php echo $this->appInfos()->nom ?> au maximum 1 mois avant votre date de soutenance.</strong>
         Son dépôt conditionne votre autorisation de soutenance.
         <a href="<?php echo $this->url('fichier/telecharger-permanent', ['idPermanent' => 'RAPPORT_ACTIVITE_FINTHESE']) ?>"
         >Cliquez ici pour télécharger le document.</a>
diff --git a/module/Application/view/application/utilisateur/voir.phtml b/module/Application/view/application/utilisateur/voir.phtml
index 874e0dd7e..7a2d86ac0 100644
--- a/module/Application/view/application/utilisateur/voir.phtml
+++ b/module/Application/view/application/utilisateur/voir.phtml
@@ -143,7 +143,7 @@ $canModifier = $this->isAllowed(Privileges::getResourceId(UtilisateurPrivileges:
                 class="btn btn-primary action ajax-modal" data-event="zmodification"
             >
                 <span class="glyphicon glyphicon-link"></span>
-                Associé à un individu SyGAL
+                Lier à un individu <?php echo $this->appInfos()->nom ?>
             </a>
 
         <?php endif ?>
diff --git a/module/Information/config/module.config.php b/module/Information/config/module.config.php
index cb5714e72..19f2aefc6 100755
--- a/module/Information/config/module.config.php
+++ b/module/Information/config/module.config.php
@@ -260,7 +260,7 @@ return [
 //                        'label' => 'Guide d\'utilisation',
 //                        'route' => 'informations/afficher',
 //                        'params' => ['id' => 162],
-//                        'title' => "Guide d'utilisation de l'application SyGAL",
+//                        'title' => "Guide d'utilisation de l'application",
 //                    ],
 //                ],
 //            ],
diff --git a/module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php b/module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php
index b042066f3..b3caaacb3 100644
--- a/module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php
+++ b/module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php
@@ -243,7 +243,7 @@ class PresoutenanceController extends AbstractController
 //                $this->getNotifierSoutenanceService()->triggerInitialisationCompte($these, $user, $url);
 
         return new ViewModel([
-            'title' => "Association de " . $membre->getDenomination() . " à un acteur SyGAL",
+            'title' => "Association de " . $membre->getDenomination() . " à un acteur " . $this->appInfos()->getNom(),
             'acteurs' => $acteurs_libres,
             'membre' => $membre,
             'these' => $these,
diff --git a/module/Soutenance/src/Soutenance/Service/Exporter/AvisSoutenance/footer.phtml b/module/Soutenance/src/Soutenance/Service/Exporter/AvisSoutenance/footer.phtml
index 1c4813b7a..50210cd1d 100644
--- a/module/Soutenance/src/Soutenance/Service/Exporter/AvisSoutenance/footer.phtml
+++ b/module/Soutenance/src/Soutenance/Service/Exporter/AvisSoutenance/footer.phtml
@@ -15,7 +15,7 @@ $lieu = "l'Université de Caen Normandie";
 
         </td>
         <td style="text-align:right;">
-            Généré par SyGAL <br/>
+            Généré par <?php echo $this->appInfos()->nom ?> <br/>
             Le <?php echo $date->format('d/m/Y à H:i:s'); ?>
         </td>
     </tr>
diff --git a/module/Soutenance/src/Soutenance/Service/Exporter/ProcesVerbal/footer.phtml b/module/Soutenance/src/Soutenance/Service/Exporter/ProcesVerbal/footer.phtml
index 1c4813b7a..50210cd1d 100644
--- a/module/Soutenance/src/Soutenance/Service/Exporter/ProcesVerbal/footer.phtml
+++ b/module/Soutenance/src/Soutenance/Service/Exporter/ProcesVerbal/footer.phtml
@@ -15,7 +15,7 @@ $lieu = "l'Université de Caen Normandie";
 
         </td>
         <td style="text-align:right;">
-            Généré par SyGAL <br/>
+            Généré par <?php echo $this->appInfos()->nom ?> <br/>
             Le <?php echo $date->format('d/m/Y à H:i:s'); ?>
         </td>
     </tr>
diff --git a/module/Soutenance/src/Soutenance/Service/Notifier/NotifierSoutenanceService.php b/module/Soutenance/src/Soutenance/Service/Notifier/NotifierSoutenanceService.php
index 1b1e87faf..5186d865a 100644
--- a/module/Soutenance/src/Soutenance/Service/Notifier/NotifierSoutenanceService.php
+++ b/module/Soutenance/src/Soutenance/Service/Notifier/NotifierSoutenanceService.php
@@ -630,7 +630,7 @@ class NotifierSoutenanceService extends NotifierService
         if (!empty($email)) {
             $notif = new Notification();
             $notif
-                ->setSubject("Initialisation de votre compte SyGAL pour la these de " . $these->getDoctorant()->getIndividu()->getNomComplet())
+                ->setSubject("Initialisation de votre compte pour la these de " . $these->getDoctorant()->getIndividu()->getNomComplet())
                 ->setTo($email)
                 ->setTemplatePath('soutenance/notification/init-compte')
                 ->setTemplateVariables([
@@ -655,7 +655,7 @@ class NotifierSoutenanceService extends NotifierService
         if (!empty($email)) {
             $notif = new Notification();
             $notif
-                ->setSubject("Connexion à SyGAL en tant que rapporteur de la thèse de " . $proposition->getThese()->getDoctorant()->getIndividu()->getNomComplet())
+                ->setSubject("Connexion en tant que rapporteur de la thèse de " . $proposition->getThese()->getDoctorant()->getIndividu()->getNomComplet())
                 ->setTo($email)
                 ->setTemplatePath('soutenance/notification/connexion-rapporteur')
                 ->setTemplateVariables([
diff --git a/module/Soutenance/view/soutenance/index/index-acteur.phtml b/module/Soutenance/view/soutenance/index/index-acteur.phtml
index 1f4eb984c..640e92501 100644
--- a/module/Soutenance/view/soutenance/index/index-acteur.phtml
+++ b/module/Soutenance/view/soutenance/index/index-acteur.phtml
@@ -27,7 +27,7 @@ $canVisualiser = $this->isAllowed(EngagementImpartialitePrivileges::getResourceI
 <h2> Constituer votre jury de thèse </h2>
 
 <p>
-    SyGAL permet la constitution de votre jury de thèse de façon dématérialisée et ceci en deux étapes :
+    <?php echo $this->appInfos()->nom ?> permet la constitution de votre jury de thèse de façon dématérialisée et ceci en deux étapes :
 </p>
 <ol>
     <li> <strong>proposition</strong> de jury par le doctorant et le directeur de thèse (et le cas échéant le co-directeur de thèse) ;</li>
@@ -75,7 +75,7 @@ $canVisualiser = $this->isAllowed(EngagementImpartialitePrivileges::getResourceI
 
 <p>
     Avant de pouvoir soutenir, <strong>votre proposition de jury doit être validée</strong> par les directeur et co-directeur de thèse, directeur de l’unité de recherche, l’école doctorale et l’établissement d’inscription puis <strong>votre thèse doit recevoir un avis positif des 2 rapporteurs</strong> de votre thèse.
-    Afin de suivre ces validations, SyGAL fournit une interface permettant de suivre l'évolution de la procédure.
+    Afin de suivre ces validations, <?php echo $this->appInfos()->nom ?> fournit une interface permettant de suivre l'évolution de la procédure.
     Cette interface permet de connaître la liste de validations reçues et celles en attente.
 </p>
 
diff --git a/module/Soutenance/view/soutenance/notification/connexion-rapporteur.phtml b/module/Soutenance/view/soutenance/notification/connexion-rapporteur.phtml
index e65c54177..03ef3b4d5 100644
--- a/module/Soutenance/view/soutenance/notification/connexion-rapporteur.phtml
+++ b/module/Soutenance/view/soutenance/notification/connexion-rapporteur.phtml
@@ -54,7 +54,7 @@ $justification = true;
 
 <?php if ($justification) : ?>
     <p>
-        Vous recevez ce mail, car votre rôle dans la soutenance de thèse de <?php echo $doctorant; ?> nécessite un compte SyGAL.
+        Vous recevez ce mail, car votre rôle dans la soutenance de thèse de <?php echo $doctorant; ?> nécessite un compte <?php echo $this->appInfos()->nom ?>.
     </p>
 <?php endif; ?>
 
diff --git a/module/Soutenance/view/soutenance/notification/demande-avis-soutenance.phtml b/module/Soutenance/view/soutenance/notification/demande-avis-soutenance.phtml
index cd9ac0608..6c9054872 100644
--- a/module/Soutenance/view/soutenance/notification/demande-avis-soutenance.phtml
+++ b/module/Soutenance/view/soutenance/notification/demande-avis-soutenance.phtml
@@ -23,7 +23,7 @@ $justification = true;
 </p>
 <p>
     Vous pouvez commencer à examiner les travaux thèse de <strong><?php echo $these->getDoctorant()->getNomComplet(); ?></strong>, ayant pour titre <strong><?php echo $these->getTitre(); ?></strong>.
-    Par la suite, vous devez établir un rapport incluant votre avis sur la soutenance et votre signature au moins 14 jours avant la date de soutenance, puis le déposer sur la plateforme SyGAL à l’adresse suivante : <a href="<?php echo $url; ?>">dépôt de l'avis de soutenance</a>.
+    Par la suite, vous devez établir un rapport incluant votre avis sur la soutenance et votre signature au moins 14 jours avant la date de soutenance, puis le déposer sur la plateforme <?php echo $this->appInfos()->nom ?> à l’adresse suivante : <a href="<?php echo $url; ?>">dépôt de l'avis de soutenance</a>.
 </p>
 <p>
     Si votre avis est négatif, pourriez-vous indiquer brièvement les raisons de ce choix puis déposer votre rapport.
diff --git a/module/Soutenance/view/soutenance/notification/devalidation.phtml b/module/Soutenance/view/soutenance/notification/devalidation.phtml
index ae70cc2f9..866ce2063 100644
--- a/module/Soutenance/view/soutenance/notification/devalidation.phtml
+++ b/module/Soutenance/view/soutenance/notification/devalidation.phtml
@@ -22,7 +22,7 @@ $urlRetour = $this->url('soutenance/proposition', ['these' => $these->getId()],
     Bonjour,
 </p>
 <p>
-    Ceci est un mail envoyé automatiquement par l'application SyGAL.
+    Ceci est un mail envoyé automatiquement par l'application <?php echo $this->appInfos()->nom ?>.
 </p>
 
 <p>
@@ -33,7 +33,7 @@ $urlRetour = $this->url('soutenance/proposition', ['these' => $these->getId()],
 </p>
 
 <p>
-    Pour consulter, les modifications faites connectez-vous à SyGAL et visualisez la proposition de soutenance en
+    Pour consulter, les modifications faites connectez-vous à <?php echo $this->appInfos()->nom ?> et visualisez la proposition de soutenance en
     utilisant le lien suivant : <a href="<?php echo $urlRetour; ?>">proposition de soutenance</a>.
 </p>
 
diff --git a/module/Soutenance/view/soutenance/notification/engagement-impartialite-demande.phtml b/module/Soutenance/view/soutenance/notification/engagement-impartialite-demande.phtml
index 3fee8695e..1434cb1b8 100644
--- a/module/Soutenance/view/soutenance/notification/engagement-impartialite-demande.phtml
+++ b/module/Soutenance/view/soutenance/notification/engagement-impartialite-demande.phtml
@@ -23,7 +23,7 @@ $justification = true;
 <p>
     Afin de pouvoir devenir rapporteur de la thèse de <strong><?php echo $these->getDoctorant()->getIndividu(); ?></strong> intitulée
     <strong><?php echo $these->getTitre(); ?></strong>, il est nécessaire de signer électroniquement l'engagement d'impartialité dans
-    l'application SyGAL : <a href="<?php echo $urlRetour; ?>">engagement d'impartialité</a>.
+    l'application <?php echo $this->appInfos()->nom ?> : <a href="<?php echo $urlRetour; ?>">engagement d'impartialité</a>.
 </p>
 <p>
     Vous accéderez ainsi à une page "index de la soutenance" listant les membres du jury.
diff --git a/module/Soutenance/view/soutenance/notification/init-compte.phtml b/module/Soutenance/view/soutenance/notification/init-compte.phtml
index 00dccb535..2d0b65014 100644
--- a/module/Soutenance/view/soutenance/notification/init-compte.phtml
+++ b/module/Soutenance/view/soutenance/notification/init-compte.phtml
@@ -57,7 +57,7 @@ $justification = true;
 
 <?php if ($justification) : ?>
     <p>
-        Vous recevez ce mail, car votre rôle dans la soutenance de thèse de <?php echo $doctorant; ?> nécessite un compte SyGAL.
+        Vous recevez ce mail, car votre rôle dans la soutenance de thèse de <?php echo $doctorant; ?> nécessite un compte <?php echo $this->appInfos()->nom ?>.
     </p>
 <?php endif; ?>
 
diff --git a/module/Soutenance/view/soutenance/notification/validation-acteur.phtml b/module/Soutenance/view/soutenance/notification/validation-acteur.phtml
index 5412e4a63..458bad96c 100644
--- a/module/Soutenance/view/soutenance/notification/validation-acteur.phtml
+++ b/module/Soutenance/view/soutenance/notification/validation-acteur.phtml
@@ -21,7 +21,7 @@ $urlRetour = $this->url('soutenance/proposition', ['these' => $validation->getTh
     Bonjour,
 </p>
 <p>
-    Ceci est un mail envoyé automatiquement par l'application SyGAL.
+    Ceci est un mail envoyé automatiquement par l'application <?php echo $this->appInfos()->nom ?>.
 </p>
 
 <p>
@@ -29,7 +29,7 @@ $urlRetour = $this->url('soutenance/proposition', ['these' => $validation->getTh
 </p>
 
 <p>
-    Pour consulter cette proposition, connectez-vous à SyGAL et visualisez la proposition de soutenance en utilisant le lien suivant : <a href="<?php echo $urlRetour; ?>">proposition de soutenance</a>.
+    Pour consulter cette proposition, connectez-vous à <?php echo $this->appInfos()->nom ?> et visualisez la proposition de soutenance en utilisant le lien suivant : <a href="<?php echo $urlRetour; ?>">proposition de soutenance</a>.
 </p>
 
 <p>
diff --git a/module/Soutenance/view/soutenance/notification/validation-soutenance.phtml b/module/Soutenance/view/soutenance/notification/validation-soutenance.phtml
index 3986b6c71..ec27b6153 100644
--- a/module/Soutenance/view/soutenance/notification/validation-soutenance.phtml
+++ b/module/Soutenance/view/soutenance/notification/validation-soutenance.phtml
@@ -18,7 +18,7 @@ $justification = true;
     Bonjour,
 </p>
 <p>
-    Ceci est un mail envoyé automatiquement par l'application SyGAL.
+    Ceci est un mail envoyé automatiquement par l'application <?php echo $this->appInfos()->nom ?>.
 </p>
 
 <p>
@@ -36,7 +36,7 @@ $justification = true;
     </tr>
 </table>
 
-<p> Pour examiner cette proposition merci de vous rendre dans l'application SyGAL :
+<p> Pour examiner cette proposition merci de vous rendre dans l'application <?php echo $this->appInfos()->nom ?> :
     <a href="<?php echo $urlRetour;?>"> proposition de soutenance.</a> </p>
 
 <?php
diff --git a/module/Soutenance/view/soutenance/notification/validation-structure.phtml b/module/Soutenance/view/soutenance/notification/validation-structure.phtml
index f94837768..0dcf3c25e 100644
--- a/module/Soutenance/view/soutenance/notification/validation-structure.phtml
+++ b/module/Soutenance/view/soutenance/notification/validation-structure.phtml
@@ -21,7 +21,7 @@ $justification = true;
     Bonjour,
 </p>
 <p>
-    Ceci est un mail envoyé automatiquement par l'application SyGAL.
+    Ceci est un mail envoyé automatiquement par l'application <?php echo $this->appInfos()->nom ?>.
 </p>
 
 <p>
@@ -39,7 +39,7 @@ $justification = true;
     </tr>
 </table>
 
-<p> Pour examiner cette proposition et statuer sur celle-ci merci de vous rendre dans l'application SyGAL :
+<p> Pour examiner cette proposition et statuer sur celle-ci merci de vous rendre dans l'application <?php echo $this->appInfos()->nom ?> :
     <a href="<?php echo $urlRetour;?>"> proposition de soutenance.</a> </p>
 
 <?php if ($justification) : ?>
diff --git a/module/Soutenance/view/soutenance/presoutenance/partial/association-jury.phtml b/module/Soutenance/view/soutenance/presoutenance/partial/association-jury.phtml
index d2d239607..13e2200eb 100644
--- a/module/Soutenance/view/soutenance/presoutenance/partial/association-jury.phtml
+++ b/module/Soutenance/view/soutenance/presoutenance/partial/association-jury.phtml
@@ -51,7 +51,7 @@ $canAssocierMembreIndividu              = $this->isAllowed($these, Presoutenance
                 <th> Rôle </th>
                 <th> Qualité </th>
                 <th> Etablissement </th>
-                <th> Id SyGAL </th>
+                <th> Id <?php echo $this->appInfos()->nom ?> </th>
                 <th> Action </th>
             </tr>
             </thead>
@@ -73,13 +73,13 @@ $canAssocierMembreIndividu              = $this->isAllowed($these, Presoutenance
                                         class="ajax-modal"
                                         data-event="modification-date-rendu-rapport"
                                     >
-                                        <span class="glyphicon glyphicon-link" title="Associer un individu SyGAL à un membre de jury"></span>
+                                        <span class="glyphicon glyphicon-link" title="Associer un individu à un membre de jury"></span>
                                     </a>
                                 <?php else: ?>
                                     <a  <?php /** @see \Soutenance\Controller\PresoutenanceController::deassocierJuryAction() */ ?>
                                         href="<?php echo $this->url('soutenance/presoutenance/deassocier-jury', ['these' => $these->getId(), 'membre' => $membre->getId()], [], true); ?>"
                                     >
-                                        <span class="glyphicon glyphicon-remove" title="Casser l'association d'un individu SyGAL à un membre de jury"></span>
+                                        <span class="glyphicon glyphicon-remove" title="Casser l'association d'un individu à un membre de jury"></span>
                                     </a>
                                 <?php endif; ?>
                             <?php endif; ?>
diff --git a/module/Soutenance/view/soutenance/presoutenance/partial/avis-soutenance.phtml b/module/Soutenance/view/soutenance/presoutenance/partial/avis-soutenance.phtml
index 25bf1c5b6..bc8c59ec9 100644
--- a/module/Soutenance/view/soutenance/presoutenance/partial/avis-soutenance.phtml
+++ b/module/Soutenance/view/soutenance/presoutenance/partial/avis-soutenance.phtml
@@ -91,7 +91,7 @@ $tousLesAvis = count($rapporteurs) === count($avis) ;
                         <?php else: ?>
                             <span class="text-danger">
                                 <span class="glyphicon glyphicon-warning-sign"></span>
-                                <i> N'est pas un individu SyGAL</i>
+                                <i> N'est pas un individu <?php echo $this->appInfos()->nom ?></i>
                                 <span class="glyphicon glyphicon-warning-sign"></span>
                             </span>
                         <?php endif; ?>
diff --git a/module/Soutenance/view/soutenance/presoutenance/partial/engagement-impartialite.phtml b/module/Soutenance/view/soutenance/presoutenance/partial/engagement-impartialite.phtml
index fff8000d1..a12f1c52e 100644
--- a/module/Soutenance/view/soutenance/presoutenance/partial/engagement-impartialite.phtml
+++ b/module/Soutenance/view/soutenance/presoutenance/partial/engagement-impartialite.phtml
@@ -91,7 +91,7 @@ $canRevoquerEngagementImpartialite     = $this->isAllowed($these, EngagementImpa
                         <?php else: ?>
                             <span class="text-danger">
                                 <span class="glyphicon glyphicon-warning-sign"></span>
-                                <i> N'est pas un individu SyGAL</i>
+                                <i> N'est pas un individu <?php echo $this->appInfos()->nom ?></i>
                                 <span class="glyphicon glyphicon-warning-sign"></span>
                             </span>
                         <?php endif; ?>
diff --git a/module/Soutenance/view/soutenance/proposition/avancement.phtml b/module/Soutenance/view/soutenance/proposition/avancement.phtml
index d8081b822..d6e3cbb79 100644
--- a/module/Soutenance/view/soutenance/proposition/avancement.phtml
+++ b/module/Soutenance/view/soutenance/proposition/avancement.phtml
@@ -108,7 +108,7 @@ $this->headTitle('Avancement de la soutenance');
             </strong>
             <br/>
             <?php echo getBadge($rapporteur->getActeur() !== null); ?>
-            Association avec SyGAL <br/>
+            Association avec <?php echo $this->appInfos()->nom ?> <br/>
 
             <?php
                 $validation = [];
-- 
GitLab