Loading module/Application/src/Application/Controller/TheseController.php +7 −7 Changes for module/Application/src/Application/Controller/TheseController.php: 7 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -186,10 +186,10 @@ class TheseController extends AbstractController $these = $this->requestedThese(); $etablissement = $these->getEtablissement(); // $showCorrecAttendue = // $these->getCorrectionAutorisee() && // count($this->validationService->getValidationsAttenduesPourCorrectionThese($these)) > 0; $showCorrecAttendue = true; $validationsDesCorrectionsEnAttente = null; if ($these->getCorrectionAutorisee()) { $validationsDesCorrectionsEnAttente = $this->validationService->getValidationsAttenduesPourCorrectionThese($these); } /** * @var Individu $individu Loading Loading @@ -226,7 +226,6 @@ class TheseController extends AbstractController 'these' => $these, 'etablissement' => $etablissement, 'estDoctorant' => (bool)$this->userContextService->getSelectedRoleDoctorant(), 'showCorrecAttendue' => $showCorrecAttendue, // 'modifierPersopassUrl' => $this->urlDoctorant()->modifierPersopassUrl($these), 'modifierPersopassUrl' => $urlModification, 'pvSoutenanceUrl' => $this->urlThese()->depotFichiers($these, NatureFichier::CODE_PV_SOUTENANCE), Loading @@ -243,6 +242,7 @@ class TheseController extends AbstractController 'mailContact' => $mailContact, 'etatMailContact' => $etatMailContact, 'rattachements' => $rattachements, 'validationsDesCorrectionsEnAttente' => $validationsDesCorrectionsEnAttente, ]); $view->setTemplate('application/these/identite'); Loading Loading @@ -518,7 +518,7 @@ class TheseController extends AbstractController ]; if ($isCorrectionAutoriseeFromImport) { $correctionAttendueImportee = sprintf("Correction %s attendue", strtolower($these->getCorrectionAutoriseeToString(false, false))); $correctionAttendueImportee = sprintf("Corrections %s attendues", strtolower($these->getCorrectionAutoriseeToString(true, false))); unset($radioOptions[$valeurCorrectionAutoriseeFromImport]); } else { $correctionAttendueImportee = "Aucune correction attendue"; Loading @@ -535,7 +535,7 @@ class TheseController extends AbstractController ->setLabelOption('disable_html_escape', true); $message = sprintf( "Actuellement, la valeur du témoin de corrections attendues importé de %s est « <strong>%s</strong> ». " . "Actuellement, la valeur du témoin de corrections attendues importé de %s <br>est « <strong>%s</strong> ». <br>" . "Vous avez ici la possibilité d'outre-passer cette valeur importée en réalisant un forçage...", $these->getSource(), $correctionAttendueImportee Loading module/Application/src/Application/Entity/Db/These.php +2 −23 Changes for module/Application/src/Application/Entity/Db/These.php: 2 added lines, 23 removed lines. Original line number Diff line number Diff line Loading @@ -51,24 +51,11 @@ class These implements HistoriqueAwareInterface, ResourceInterface const CORRECTION_AUTORISEE_OBLIGATOIRE = 'obligatoire'; const CORRECTION_AUTORISEE_FACULTATIVE = 'facultative'; /** * @deprecated */ const CORRECTION_MAJEURE = 'majeure'; /** * @deprecated */ const CORRECTION_MINEURE = 'mineure'; public static $correctionsLibelles = [ self::CORRECTION_MAJEURE => "Obligatoire", self::CORRECTION_MINEURE => "Facultative", self::CORRECTION_AUTORISEE_OBLIGATOIRE => "Obligatoire", self::CORRECTION_AUTORISEE_FACULTATIVE => "Facultative", ]; public static $correctionsLibellesPluriels = [ self::CORRECTION_MAJEURE => "Obligatoires", self::CORRECTION_MINEURE => "Facultatives", self::CORRECTION_AUTORISEE_OBLIGATOIRE => "Obligatoires", self::CORRECTION_AUTORISEE_FACULTATIVE => "Facultatives", ]; Loading @@ -78,8 +65,8 @@ class These implements HistoriqueAwareInterface, ResourceInterface const CORRECTION_AUTORISEE_FORCAGE_NON = null; // pas de forçage const CORRECTION_AUTORISEE_FORCAGE_AUCUNE = 'aucune'; // aucune correction autorisée const CORRECTION_AUTORISEE_FORCAGE_OBLIGATOIRE = self::CORRECTION_MAJEURE; // corrections obligatoires autorisées const CORRECTION_AUTORISEE_FORCAGE_FACULTATIVE = self::CORRECTION_MINEURE; // corrections facultatives autorisées const CORRECTION_AUTORISEE_FORCAGE_OBLIGATOIRE = self::CORRECTION_AUTORISEE_OBLIGATOIRE; // corrections obligatoires autorisées const CORRECTION_AUTORISEE_FORCAGE_FACULTATIVE = self::CORRECTION_AUTORISEE_FACULTATIVE; // corrections facultatives autorisées /** * @var integer Loading Loading @@ -535,7 +522,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface public function getCorrectionAutoriseeEstFacultative($prendreEnCompteLeForcage = true) { return in_array($this->getCorrectionAutorisee($prendreEnCompteLeForcage), [ self::CORRECTION_MINEURE, self::CORRECTION_AUTORISEE_FACULTATIVE ]); } Loading @@ -547,7 +533,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface public function getCorrectionAutoriseeEstObligatoire($prendreEnCompteLeForcage = true) { return in_array($this->getCorrectionAutorisee($prendreEnCompteLeForcage), [ self::CORRECTION_MAJEURE, self::CORRECTION_AUTORISEE_OBLIGATOIRE ]); } Loading Loading @@ -1217,7 +1202,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface { switch ($this->getCorrectionAutorisee()) { case self::CORRECTION_AUTORISEE_OBLIGATOIRE: case self::CORRECTION_MAJEURE: $dateButoir = $this->getDateButoirDepotVersionCorrigee(); if ($dateButoir !== null) { return $dateButoir->sub(new \DateInterval('P1M')); // date butoir - 1 mois Loading @@ -1225,7 +1209,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface return null; } case self::CORRECTION_AUTORISEE_FACULTATIVE: case self::CORRECTION_MINEURE: return null; default: return null; Loading @@ -1249,7 +1232,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface switch ($this->getCorrectionAutorisee()) { case self::CORRECTION_AUTORISEE_OBLIGATOIRE: case self::CORRECTION_MAJEURE: if ($dateButoir !== null) { $dateProchaineNotif = $dateButoir->sub(new \DateInterval('P1M')); // Date butoir - 1 mois } Loading @@ -1258,7 +1240,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface } break; case self::CORRECTION_AUTORISEE_FACULTATIVE: case self::CORRECTION_MINEURE: $dateProchaineNotif = null; break; default: Loading Loading @@ -1327,10 +1308,8 @@ class These implements HistoriqueAwareInterface, ResourceInterface { switch ($val = $this->getCorrectionAutorisee()) { case self::CORRECTION_AUTORISEE_OBLIGATOIRE: case self::CORRECTION_MAJEURE: return static::CORRECTION_OBLIGATOIRE_INTERVAL; // + 3 mois case self::CORRECTION_AUTORISEE_FACULTATIVE: case self::CORRECTION_MINEURE: return static::CORRECTION_FACULTATIVE_INTERVAL; // + 2 mois default: throw new RuntimeException("Valeur de correction attendue non prévue: " . $val); Loading module/Application/src/Application/Rule/NotificationDepotVersionCorrigeeAttenduRule.php +0 −2 Changes for module/Application/src/Application/Rule/NotificationDepotVersionCorrigeeAttenduRule.php: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -114,7 +114,6 @@ class NotificationDepotVersionCorrigeeAttenduRule implements RuleInterface $this->estPremiereNotif = false; switch ($this->these->getCorrectionAutorisee()) { case These::CORRECTION_MAJEURE: case These::CORRECTION_AUTORISEE_OBLIGATOIRE: $spec = self::SPEC_INTERVAL_ENTRE_DATE_NOTIF_ET_BUTOIRE; try { Loading @@ -124,7 +123,6 @@ class NotificationDepotVersionCorrigeeAttenduRule implements RuleInterface } $dateProchaineNotif = $dateButoir->sub($interval); // Date butoir - interval break; case These::CORRECTION_MINEURE: case These::CORRECTION_AUTORISEE_FACULTATIVE: // Une seule notification pour des corrections facultatives $dateProchaineNotif = null; Loading module/Application/view/application/these/identite.phtml +22 −13 Changes for module/Application/view/application/these/identite.phtml: 22 added lines, 13 removed lines. Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ use Application\Controller\TheseController; use Application\Entity\Db\Acteur; use Application\Entity\Db\MailConfirmation; use Application\Entity\Db\These; use Application\Entity\Db\Validation; use Application\Filter\ActeursFormatter; use Application\Filter\FinancementFormatter; use Application\Provider\Privilege\DoctorantPrivileges; Loading @@ -16,7 +17,6 @@ use Application\View\Renderer\PhpRenderer; * @var These $these * @var string $modifierPersopassUrl * @var bool $estDoctorant * @var bool $showCorrecAttendue * @var string $pvSoutenanceUrl * @var string $rapportSoutenanceUrl * @var string $preRapportSoutenanceUrl Loading @@ -28,6 +28,7 @@ use Application\View\Renderer\PhpRenderer; * @var string $nextStepUrl * @var string $mailContact * @var string $etatMailContact * @var Validation[] $validationsDesCorrectionsEnAttente * * @see TheseController::detailIdentiteAction() */ Loading Loading @@ -327,33 +328,41 @@ $financementFormatter->setDisplayAs(FinancementFormatter::DISPLAY_AS_LINE); <!------------------------------- Corrections attendues ---------------------------------> <?php $titre = "Corrections attendues"; $message = "Non."; $class = null; if ($these->isCorrectionAutorisee()) { $dateButoirDepassee = $these->getDateButoirDepotVersionCorrigeeDepassee() && ! empty($validationsDesCorrectionsEnAttente); if ($these->getCorrectionAutoriseeEstFacultative()) { $correctionAttendue = true; $class = "text-warning"; $message = $these->getDateButoirDepotVersionCorrigeeDepassee() ? "Non. Délai pour corrections facultatives écoulé : la version déposée avant soutenance constitue désormais la version de référence." : $message = $dateButoirDepassee ? "Trop tard, le délai pour corrections facultatives est écoulé : la version déposée avant soutenance constitue désormais la version de référence." : "Oui, facultatives."; } elseif ($these->getCorrectionAutoriseeEstObligatoire()) { $correctionAttendue = true; $class = "text-danger"; $message = $these->getDateButoirDepotVersionCorrigeeDepassee() ? "Non. Délai pour corrections obligatoires écoulé : ni l’attestation de réussite ni le diplôme ne peuvent désormais être délivrés." : $message = $dateButoirDepassee ? "Trop tard, le délai pour corrections obligatoires est écoulé : ni l’attestation de réussite ni le diplôme ne peuvent désormais être délivrés." : "Oui, obligatoires."; } else { $correctionAttendue = false; $class = null; $message = "Aucune."; } if (empty($validationsDesCorrectionsEnAttente)) { $titre = "Corrections"; $message = sprintf("Les corrections %s ont été validées.", lcfirst($these->getCorrectionAutoriseeToString(true))); $canEditForcageCorrectionAutorisee = false; } } ?> <dt class="<?php echo $class ?>">Corrections attendues</dt> <dt class="<?php echo $class ?>"><?php echo $titre ?></dt> <dd class="<?php echo $class ?>"> <?php echo $message ?> <?php echo $message ?> <br> <?php if ($canEditForcageCorrectionAutorisee): ?> <?php if ($these->isCorrectionAutoriseeForcee()): ?> <em>Cette valeur est forcée.</em> <?php endif ?> <a href="<?php echo $modifierCorrecAutorUrl ?>" class="btn btn-xs btn-info ajax-modal" data-event="event-correction-autorisee-forcee-modified" title="Forçage du témoin de corrections attendues" >Forçage</a> <?php endif ?> </dd> Loading module/Application/view/application/these/modifier-correction-autorisee-forcee.phtml +3 −1 Changes for module/Application/view/application/these/modifier-correction-autorisee-forcee.phtml: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -23,7 +23,9 @@ $form->prepare(); <p class="lead"> <?php echo $form->getLabel() ?> </p> <p> Que voulez-vous faire ? </p> <?php echo $this->form()->openTag($form) ?> <?php echo $this->formControlGroup()->render($form->get('forcage')) ?> <?php echo $this->formElement($form->get('submit')->setAttribute('class', 'btn btn-primary')) ?> Loading Loading
module/Application/src/Application/Controller/TheseController.php +7 −7 Changes for module/Application/src/Application/Controller/TheseController.php: 7 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -186,10 +186,10 @@ class TheseController extends AbstractController $these = $this->requestedThese(); $etablissement = $these->getEtablissement(); // $showCorrecAttendue = // $these->getCorrectionAutorisee() && // count($this->validationService->getValidationsAttenduesPourCorrectionThese($these)) > 0; $showCorrecAttendue = true; $validationsDesCorrectionsEnAttente = null; if ($these->getCorrectionAutorisee()) { $validationsDesCorrectionsEnAttente = $this->validationService->getValidationsAttenduesPourCorrectionThese($these); } /** * @var Individu $individu Loading Loading @@ -226,7 +226,6 @@ class TheseController extends AbstractController 'these' => $these, 'etablissement' => $etablissement, 'estDoctorant' => (bool)$this->userContextService->getSelectedRoleDoctorant(), 'showCorrecAttendue' => $showCorrecAttendue, // 'modifierPersopassUrl' => $this->urlDoctorant()->modifierPersopassUrl($these), 'modifierPersopassUrl' => $urlModification, 'pvSoutenanceUrl' => $this->urlThese()->depotFichiers($these, NatureFichier::CODE_PV_SOUTENANCE), Loading @@ -243,6 +242,7 @@ class TheseController extends AbstractController 'mailContact' => $mailContact, 'etatMailContact' => $etatMailContact, 'rattachements' => $rattachements, 'validationsDesCorrectionsEnAttente' => $validationsDesCorrectionsEnAttente, ]); $view->setTemplate('application/these/identite'); Loading Loading @@ -518,7 +518,7 @@ class TheseController extends AbstractController ]; if ($isCorrectionAutoriseeFromImport) { $correctionAttendueImportee = sprintf("Correction %s attendue", strtolower($these->getCorrectionAutoriseeToString(false, false))); $correctionAttendueImportee = sprintf("Corrections %s attendues", strtolower($these->getCorrectionAutoriseeToString(true, false))); unset($radioOptions[$valeurCorrectionAutoriseeFromImport]); } else { $correctionAttendueImportee = "Aucune correction attendue"; Loading @@ -535,7 +535,7 @@ class TheseController extends AbstractController ->setLabelOption('disable_html_escape', true); $message = sprintf( "Actuellement, la valeur du témoin de corrections attendues importé de %s est « <strong>%s</strong> ». " . "Actuellement, la valeur du témoin de corrections attendues importé de %s <br>est « <strong>%s</strong> ». <br>" . "Vous avez ici la possibilité d'outre-passer cette valeur importée en réalisant un forçage...", $these->getSource(), $correctionAttendueImportee Loading
module/Application/src/Application/Entity/Db/These.php +2 −23 Changes for module/Application/src/Application/Entity/Db/These.php: 2 added lines, 23 removed lines. Original line number Diff line number Diff line Loading @@ -51,24 +51,11 @@ class These implements HistoriqueAwareInterface, ResourceInterface const CORRECTION_AUTORISEE_OBLIGATOIRE = 'obligatoire'; const CORRECTION_AUTORISEE_FACULTATIVE = 'facultative'; /** * @deprecated */ const CORRECTION_MAJEURE = 'majeure'; /** * @deprecated */ const CORRECTION_MINEURE = 'mineure'; public static $correctionsLibelles = [ self::CORRECTION_MAJEURE => "Obligatoire", self::CORRECTION_MINEURE => "Facultative", self::CORRECTION_AUTORISEE_OBLIGATOIRE => "Obligatoire", self::CORRECTION_AUTORISEE_FACULTATIVE => "Facultative", ]; public static $correctionsLibellesPluriels = [ self::CORRECTION_MAJEURE => "Obligatoires", self::CORRECTION_MINEURE => "Facultatives", self::CORRECTION_AUTORISEE_OBLIGATOIRE => "Obligatoires", self::CORRECTION_AUTORISEE_FACULTATIVE => "Facultatives", ]; Loading @@ -78,8 +65,8 @@ class These implements HistoriqueAwareInterface, ResourceInterface const CORRECTION_AUTORISEE_FORCAGE_NON = null; // pas de forçage const CORRECTION_AUTORISEE_FORCAGE_AUCUNE = 'aucune'; // aucune correction autorisée const CORRECTION_AUTORISEE_FORCAGE_OBLIGATOIRE = self::CORRECTION_MAJEURE; // corrections obligatoires autorisées const CORRECTION_AUTORISEE_FORCAGE_FACULTATIVE = self::CORRECTION_MINEURE; // corrections facultatives autorisées const CORRECTION_AUTORISEE_FORCAGE_OBLIGATOIRE = self::CORRECTION_AUTORISEE_OBLIGATOIRE; // corrections obligatoires autorisées const CORRECTION_AUTORISEE_FORCAGE_FACULTATIVE = self::CORRECTION_AUTORISEE_FACULTATIVE; // corrections facultatives autorisées /** * @var integer Loading Loading @@ -535,7 +522,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface public function getCorrectionAutoriseeEstFacultative($prendreEnCompteLeForcage = true) { return in_array($this->getCorrectionAutorisee($prendreEnCompteLeForcage), [ self::CORRECTION_MINEURE, self::CORRECTION_AUTORISEE_FACULTATIVE ]); } Loading @@ -547,7 +533,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface public function getCorrectionAutoriseeEstObligatoire($prendreEnCompteLeForcage = true) { return in_array($this->getCorrectionAutorisee($prendreEnCompteLeForcage), [ self::CORRECTION_MAJEURE, self::CORRECTION_AUTORISEE_OBLIGATOIRE ]); } Loading Loading @@ -1217,7 +1202,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface { switch ($this->getCorrectionAutorisee()) { case self::CORRECTION_AUTORISEE_OBLIGATOIRE: case self::CORRECTION_MAJEURE: $dateButoir = $this->getDateButoirDepotVersionCorrigee(); if ($dateButoir !== null) { return $dateButoir->sub(new \DateInterval('P1M')); // date butoir - 1 mois Loading @@ -1225,7 +1209,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface return null; } case self::CORRECTION_AUTORISEE_FACULTATIVE: case self::CORRECTION_MINEURE: return null; default: return null; Loading @@ -1249,7 +1232,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface switch ($this->getCorrectionAutorisee()) { case self::CORRECTION_AUTORISEE_OBLIGATOIRE: case self::CORRECTION_MAJEURE: if ($dateButoir !== null) { $dateProchaineNotif = $dateButoir->sub(new \DateInterval('P1M')); // Date butoir - 1 mois } Loading @@ -1258,7 +1240,6 @@ class These implements HistoriqueAwareInterface, ResourceInterface } break; case self::CORRECTION_AUTORISEE_FACULTATIVE: case self::CORRECTION_MINEURE: $dateProchaineNotif = null; break; default: Loading Loading @@ -1327,10 +1308,8 @@ class These implements HistoriqueAwareInterface, ResourceInterface { switch ($val = $this->getCorrectionAutorisee()) { case self::CORRECTION_AUTORISEE_OBLIGATOIRE: case self::CORRECTION_MAJEURE: return static::CORRECTION_OBLIGATOIRE_INTERVAL; // + 3 mois case self::CORRECTION_AUTORISEE_FACULTATIVE: case self::CORRECTION_MINEURE: return static::CORRECTION_FACULTATIVE_INTERVAL; // + 2 mois default: throw new RuntimeException("Valeur de correction attendue non prévue: " . $val); Loading
module/Application/src/Application/Rule/NotificationDepotVersionCorrigeeAttenduRule.php +0 −2 Changes for module/Application/src/Application/Rule/NotificationDepotVersionCorrigeeAttenduRule.php: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -114,7 +114,6 @@ class NotificationDepotVersionCorrigeeAttenduRule implements RuleInterface $this->estPremiereNotif = false; switch ($this->these->getCorrectionAutorisee()) { case These::CORRECTION_MAJEURE: case These::CORRECTION_AUTORISEE_OBLIGATOIRE: $spec = self::SPEC_INTERVAL_ENTRE_DATE_NOTIF_ET_BUTOIRE; try { Loading @@ -124,7 +123,6 @@ class NotificationDepotVersionCorrigeeAttenduRule implements RuleInterface } $dateProchaineNotif = $dateButoir->sub($interval); // Date butoir - interval break; case These::CORRECTION_MINEURE: case These::CORRECTION_AUTORISEE_FACULTATIVE: // Une seule notification pour des corrections facultatives $dateProchaineNotif = null; Loading
module/Application/view/application/these/identite.phtml +22 −13 Changes for module/Application/view/application/these/identite.phtml: 22 added lines, 13 removed lines. Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ use Application\Controller\TheseController; use Application\Entity\Db\Acteur; use Application\Entity\Db\MailConfirmation; use Application\Entity\Db\These; use Application\Entity\Db\Validation; use Application\Filter\ActeursFormatter; use Application\Filter\FinancementFormatter; use Application\Provider\Privilege\DoctorantPrivileges; Loading @@ -16,7 +17,6 @@ use Application\View\Renderer\PhpRenderer; * @var These $these * @var string $modifierPersopassUrl * @var bool $estDoctorant * @var bool $showCorrecAttendue * @var string $pvSoutenanceUrl * @var string $rapportSoutenanceUrl * @var string $preRapportSoutenanceUrl Loading @@ -28,6 +28,7 @@ use Application\View\Renderer\PhpRenderer; * @var string $nextStepUrl * @var string $mailContact * @var string $etatMailContact * @var Validation[] $validationsDesCorrectionsEnAttente * * @see TheseController::detailIdentiteAction() */ Loading Loading @@ -327,33 +328,41 @@ $financementFormatter->setDisplayAs(FinancementFormatter::DISPLAY_AS_LINE); <!------------------------------- Corrections attendues ---------------------------------> <?php $titre = "Corrections attendues"; $message = "Non."; $class = null; if ($these->isCorrectionAutorisee()) { $dateButoirDepassee = $these->getDateButoirDepotVersionCorrigeeDepassee() && ! empty($validationsDesCorrectionsEnAttente); if ($these->getCorrectionAutoriseeEstFacultative()) { $correctionAttendue = true; $class = "text-warning"; $message = $these->getDateButoirDepotVersionCorrigeeDepassee() ? "Non. Délai pour corrections facultatives écoulé : la version déposée avant soutenance constitue désormais la version de référence." : $message = $dateButoirDepassee ? "Trop tard, le délai pour corrections facultatives est écoulé : la version déposée avant soutenance constitue désormais la version de référence." : "Oui, facultatives."; } elseif ($these->getCorrectionAutoriseeEstObligatoire()) { $correctionAttendue = true; $class = "text-danger"; $message = $these->getDateButoirDepotVersionCorrigeeDepassee() ? "Non. Délai pour corrections obligatoires écoulé : ni l’attestation de réussite ni le diplôme ne peuvent désormais être délivrés." : $message = $dateButoirDepassee ? "Trop tard, le délai pour corrections obligatoires est écoulé : ni l’attestation de réussite ni le diplôme ne peuvent désormais être délivrés." : "Oui, obligatoires."; } else { $correctionAttendue = false; $class = null; $message = "Aucune."; } if (empty($validationsDesCorrectionsEnAttente)) { $titre = "Corrections"; $message = sprintf("Les corrections %s ont été validées.", lcfirst($these->getCorrectionAutoriseeToString(true))); $canEditForcageCorrectionAutorisee = false; } } ?> <dt class="<?php echo $class ?>">Corrections attendues</dt> <dt class="<?php echo $class ?>"><?php echo $titre ?></dt> <dd class="<?php echo $class ?>"> <?php echo $message ?> <?php echo $message ?> <br> <?php if ($canEditForcageCorrectionAutorisee): ?> <?php if ($these->isCorrectionAutoriseeForcee()): ?> <em>Cette valeur est forcée.</em> <?php endif ?> <a href="<?php echo $modifierCorrecAutorUrl ?>" class="btn btn-xs btn-info ajax-modal" data-event="event-correction-autorisee-forcee-modified" title="Forçage du témoin de corrections attendues" >Forçage</a> <?php endif ?> </dd> Loading
module/Application/view/application/these/modifier-correction-autorisee-forcee.phtml +3 −1 Changes for module/Application/view/application/these/modifier-correction-autorisee-forcee.phtml: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -23,7 +23,9 @@ $form->prepare(); <p class="lead"> <?php echo $form->getLabel() ?> </p> <p> Que voulez-vous faire ? </p> <?php echo $this->form()->openTag($form) ?> <?php echo $this->formControlGroup()->render($form->get('forcage')) ?> <?php echo $this->formElement($form->get('submit')->setAttribute('class', 'btn btn-primary')) ?> Loading