Commit f4ac9da3 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

WIP

parent 0b0a32d1
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Formation/config/others/formation.config.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ return [
                                'label'    => 'Formations',
                                'route'    => 'formation/formation',
                                'resource' => PrivilegeController::getResourceId(FormationController::class, 'index') ,
                                'order'    => 200,
                                'order'    => 90,
                                'pages' => [
                                    'afficher' => [
                                        'label'    => "Affichage d'une formation",
+3 −3
Changes for module/Formation/config/others/index.config.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -52,19 +52,19 @@ return [
                        'label'    => 'Formations',
                        'route'    => 'formation',
                        'resource' => PrivilegeController::getResourceId(IndexController::class, 'index') ,
                        'order'    => 9997,
                        'order'    => 90,
                    ],
                    'formation-doctorant' => [
                        'label'    => 'Mes formations',
                        'route'    => 'formation/index-doctorant',
                        'resource' => PrivilegeController::getResourceId(IndexController::class, 'index-doctorant') ,
                        'order'    => 9998,
                        'order'    => 91,
                    ],
                    'formation-formateur' => [
                        'label'    => 'Mes formations',
                        'route'    => 'formation/index-formateur',
                        'resource' => PrivilegeController::getResourceId(IndexController::class, 'index-formateur') ,
                        'order'    => 9999,
                        'order'    => 92,
                    ],
                ],
            ],
+3 −7
Changes for module/Formation/view/formation/index/index-doctorant.phtml: 3 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -7,10 +7,12 @@
 * @var Session[] $preparations
 * @var Inscription[] $inscriptions
 * @var array[] $resultats
 * @var EnqueteReponse[] $reponses;
 */


use Doctorant\Entity\Db\Doctorant;
use Formation\Entity\Db\EnqueteReponse;
use Formation\Entity\Db\Etat;
use Formation\Entity\Db\Inscription;
use Formation\Entity\Db\Session;
@@ -278,7 +280,7 @@ $canAttestationInscription = $this->isAllowed(InscriptionPrivileges::getResource
                              title="Annuler mon inscription" data-toggle="tooltip" data-html="true"
                        ></span></a>
                        <?php endif; ?>
                        <?php if ($canConvocationInscription) : ?>
                        <?php if ($canConvocationInscription AND $inscription->getListe() === Inscription::LISTE_PRINCIPALE) : ?>
                            <?php /** @see \Formation\Controller\InscriptionController::genererConvocationAction() */?>
                            <a href="<?php echo $this->url('formation/inscription/generer-convocation', ['inscription' => $inscription->getId()], [], true); ?>" target="_blank">
                        <span class="glyphicon glyphicon-share"
@@ -364,12 +366,6 @@ $canAttestationInscription = $this->isAllowed(InscriptionPrivileges::getResource
    </div>
</div>







<script>
    $(function() {
        $("body").on("modification", function (event) {