Commit e2babad7 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Doctorant : nouvelle page 'consulter' ; remplacement de liens 'tableau-de-bord' par 'consulter'.

parent 00e9d0f0
Loading
Loading
Loading
Loading
+1 −0
Changes for CHANGELOG.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ Journal des modifications
- FichierViewHelper : refactorisation pour ajouter des setters ; ajout de règles dans app.scss pour abandon de classes bootstrap ; plus de sobriété dans les styles.
- FichierViewHelper : plus qu'un seul argument dans __invoke() donc utilisation des setters ; cosmétique pour le nom du fichier.
- Traitement d'une inscription administrative reçue : précision lorsque le dossier d'admission trouvé est lié à un doctorant.
- Doctorant : nouvelle page 'consulter' ; remplacement de liens 'tableau-de-bord' par 'consulter'. 
- [FIX] Plantage des notifications à propos des résultats de thèse passant à Admis (iterator vide à cause d'un critère de filtrage erroné).
- [FIX] TheseEtatRule : suppression d'une vérif empêchant la validation de la thèse corrigée par le président du jury (Transition d'état impossible : S → E).
- [FIX] Ajout du critère de la Source dans la recherche d'origine de financement par code.
+1 −1
Changes for module/Doctorant/src/Doctorant/Controller/DoctorantController.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ class DoctorantController extends AbstractController implements SearchController
                $this->flashMessenger()->addSuccessMessage("Le·a doctorant·e « $doctorant » a été modifié·e avec succès.");

                if (!$inModal) {
                    return $this->redirect()->toRoute('doctorant/tableau-de-bord', ['doctorant' => $doctorant->getId()]);
                    return $this->redirect()->toRoute('doctorant/consulter', ['doctorant' => $doctorant->getId()]);
                }
            }
        }
+1 −1
Changes for module/Doctorant/view/doctorant/doctorant-recherche/index.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ $canAjouter = false;//$this->isAllowed(Privileges::getResourceId(DoctorantPrivil
                <td>
                    <span class="<?php echo $doctorant->estHistorise() ? 'historise' : '' ?>">
                        <?php if ($canConsulter): ?>
                            <a href="<?php echo $this->url('doctorant/tableau-de-bord', ['doctorant' => IdifyFilter::id($doctorant)]) ?>"
                            <a href="<?php echo $this->url('doctorant/consulter', ['doctorant' => IdifyFilter::id($doctorant)]) ?>"
                               title="Accéder à la fiche détaillée de ce doctorant">
                                <?php echo $doctorant->getId() ?>
                            </a>
+18 −0
Changes for module/Doctorant/view/doctorant/doctorant/consulter.phtml: 18 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php
/**
 * @var \Application\View\Renderer\PhpRenderer $this
 * @var \Doctorant\Entity\Db\Doctorant $doctorant
 *
 * @see \Doctorant\Controller\DoctorantController::consulterAction()
 */
?>

<?php echo $this->alertes()->renderAsBootstrapToasts()->addAlertesFromFlashMessenger(); ?>

<h1 class="page-header">
    Doctorant·e <small><?= $doctorant ?></small>
</h1>

<?php echo $this->partial('doctorant/doctorant/partial/fiche', [
        'doctorant' => $doctorant,
]); ?>
+6 −2
Changes for module/Doctorant/view/doctorant/doctorant/modifier.phtml: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -23,11 +23,15 @@ $form->setAttribute('class', 'row')->prepare();
    ""
)) ?>

<?php if($title): ?>
<?php echo $this->alertes()->renderAsBootstrapToasts()->addAlertesFromFlashMessenger(); ?>

<h1 class="page-header">
    <?php if ($title): ?>
        <?php echo $title ?>
    </h1>
    <?php else: ?>
        Doctorant <small><?= $doctorant ?></small>
    <?php endif; ?>
</h1>

<?php if ($isCreation): ?>
    <p class="lead text-warning">
Loading