Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ Journal des modifications - [FIX] Dépendance erronée pour OrigineFinancementSearchFilter dans certaines classes - [FIX] Module Soutenance : Génération du document pour la présidence inaccessible - [FIX] Module Soutenance : Un même individu avec le même role pouvait être associé à plusieurs acteurs - [FIX] Module Soutenance : Validation de la page de couverture affichée comme non disponible à tort - [FIX] Module Formation : Possibilité de valider plusieurs fois la même formation externe, ce qui faisait planter ultérieurement la page - [FIX] Module Admission : Dossier inaccessible si le numéro de candidature n'était pas renseigné Loading module/Soutenance/view/soutenance/presoutenance-these/presoutenance.phtml +25 −43 Original line number Diff line number Diff line Loading @@ -207,10 +207,7 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr if($proposition->getEtat()->getCode() === Etat::VALIDEE || $proposition->getEtat()->getCode() === Etat::REJETEE){ $bgcolor = "bg-dark"; }else { if (!$tousLesEngagements) { $bgcolor = "bg-dark"; $cssClass = "etape-encore-non-disponible"; } else if (current($validationPDC) !== null && current($validationPDC) !== false) { if (current($validationPDC) !== null && current($validationPDC) !== false) { $bgcolor = "bg-success"; } elseif (current($validationPDC) === null || current($validationPDC) === false) { $bgcolor = "bg-warning"; Loading @@ -225,8 +222,7 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr <h2>Validation de la page de couverture</h2> </div> <div class="card-body <?= $cssClass; ?>"> <?php if ($tousLesEngagements) : ?> <?php if (current($validationPDC) !== null AND current($validationPDC) !== false) : ?> <?php if (current($validationPDC) !== null and current($validationPDC) !== false) : ?> <?php /** @var ValidationThese $validation_pdc */ $validation_pdc = current($validationPDC); Loading @@ -247,28 +243,14 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr <div class="float-end" style="margin-right: 2rem;"> <a <?php /** @see \These\Controller\TheseController::validationPageDeCouvertureAction() */ ?> href="<?php echo $this->url('these/validation-page-de-couverture', ['these'=> $these->getId()], [], true); ?>" class="btn btn-primary"> href="<?php echo $this->url('these/validation-page-de-couverture', ['these' => $these->getId()], [], true); ?>" class="btn btn-primary"> Accéder à la validation de la PDC </a> </div> <?php endif; ?> </div> <?php endif; ?> <?php else : ?> <div class="col-md-8"> <?php if (empty($rapporteurs)) : ?> <div class="alert alert-warning"> <span class="icon icon-attention"></span> Aucun rapporteur déclaré dans la proposition de soutenance </div> <?php else: ?> <div class="alert alert-warning"> <span class="icon icon-attention"></span> Tous les engagements d'impartialité n'ont pas encore été signés. </div> <?php endif; ?> </div> <?php endif; ?> </div> </div> <!-- AVIS SOUTENANCE --------------------------------------------------------------------------------------------------> Loading module/Soutenance/view/soutenance/presoutenance/partial/documents.phtml +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ $canGererDocument = $this->isAllowed($object, PresoutenancePrivileges::PRESOUTE <!-- documents liés à la soutenance -----------------------------------------------------------------------------> <?php if ($canGenererDocument && ($proposition->getEtat()->getCode() === Etat::ETABLISSEMENT || $proposition->getEtat()->getCode() === Etat::VALIDEE || $proposition->getEtat()->getCode() === Etat::COMPLET)) : ?> <?php if ($canGenererDocument && ($proposition->getEtat()->getCode() === Etat::VALIDEE || $proposition->getEtat()->getCode() === Etat::COMPLET)) : ?> <div class="row m-2"> <h3> Génération et envoi des documents </h3> <div class="col-md-6"> Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ Journal des modifications - [FIX] Dépendance erronée pour OrigineFinancementSearchFilter dans certaines classes - [FIX] Module Soutenance : Génération du document pour la présidence inaccessible - [FIX] Module Soutenance : Un même individu avec le même role pouvait être associé à plusieurs acteurs - [FIX] Module Soutenance : Validation de la page de couverture affichée comme non disponible à tort - [FIX] Module Formation : Possibilité de valider plusieurs fois la même formation externe, ce qui faisait planter ultérieurement la page - [FIX] Module Admission : Dossier inaccessible si le numéro de candidature n'était pas renseigné Loading
module/Soutenance/view/soutenance/presoutenance-these/presoutenance.phtml +25 −43 Original line number Diff line number Diff line Loading @@ -207,10 +207,7 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr if($proposition->getEtat()->getCode() === Etat::VALIDEE || $proposition->getEtat()->getCode() === Etat::REJETEE){ $bgcolor = "bg-dark"; }else { if (!$tousLesEngagements) { $bgcolor = "bg-dark"; $cssClass = "etape-encore-non-disponible"; } else if (current($validationPDC) !== null && current($validationPDC) !== false) { if (current($validationPDC) !== null && current($validationPDC) !== false) { $bgcolor = "bg-success"; } elseif (current($validationPDC) === null || current($validationPDC) === false) { $bgcolor = "bg-warning"; Loading @@ -225,8 +222,7 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr <h2>Validation de la page de couverture</h2> </div> <div class="card-body <?= $cssClass; ?>"> <?php if ($tousLesEngagements) : ?> <?php if (current($validationPDC) !== null AND current($validationPDC) !== false) : ?> <?php if (current($validationPDC) !== null and current($validationPDC) !== false) : ?> <?php /** @var ValidationThese $validation_pdc */ $validation_pdc = current($validationPDC); Loading @@ -247,28 +243,14 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr <div class="float-end" style="margin-right: 2rem;"> <a <?php /** @see \These\Controller\TheseController::validationPageDeCouvertureAction() */ ?> href="<?php echo $this->url('these/validation-page-de-couverture', ['these'=> $these->getId()], [], true); ?>" class="btn btn-primary"> href="<?php echo $this->url('these/validation-page-de-couverture', ['these' => $these->getId()], [], true); ?>" class="btn btn-primary"> Accéder à la validation de la PDC </a> </div> <?php endif; ?> </div> <?php endif; ?> <?php else : ?> <div class="col-md-8"> <?php if (empty($rapporteurs)) : ?> <div class="alert alert-warning"> <span class="icon icon-attention"></span> Aucun rapporteur déclaré dans la proposition de soutenance </div> <?php else: ?> <div class="alert alert-warning"> <span class="icon icon-attention"></span> Tous les engagements d'impartialité n'ont pas encore été signés. </div> <?php endif; ?> </div> <?php endif; ?> </div> </div> <!-- AVIS SOUTENANCE --------------------------------------------------------------------------------------------------> Loading
module/Soutenance/view/soutenance/presoutenance/partial/documents.phtml +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ $canGererDocument = $this->isAllowed($object, PresoutenancePrivileges::PRESOUTE <!-- documents liés à la soutenance -----------------------------------------------------------------------------> <?php if ($canGenererDocument && ($proposition->getEtat()->getCode() === Etat::ETABLISSEMENT || $proposition->getEtat()->getCode() === Etat::VALIDEE || $proposition->getEtat()->getCode() === Etat::COMPLET)) : ?> <?php if ($canGenererDocument && ($proposition->getEtat()->getCode() === Etat::VALIDEE || $proposition->getEtat()->getCode() === Etat::COMPLET)) : ?> <div class="row m-2"> <h3> Génération et envoi des documents </h3> <div class="col-md-6"> Loading