Commit 42b3dc66 authored by Thomas Hamel's avatar Thomas Hamel
Browse files

[FIX] Génération de la page de couverture impossible :...

[FIX] Génération de la page de couverture impossible : PageDeCouverturePdfExporter ne doit pas être un singleton afin d'éviter des erreurs de chemins de templates
parent 04f65a0a
Loading
Loading
Loading
Loading
+4 −0
Changes for module/Depot/config/others/depot.config.php: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1012,6 +1012,10 @@ return [
            TheseAssertion::class => TheseAssertionFactory::class,
            TheseEntityAssertion::class => TheseEntityAssertionFactory::class,
        ],
        //PageDeCouverturePdfExporter ne doit pas être un singleton afin d'éviter des erreurs de chemins de templates
        'shared' => [
            PageDeCouverturePdfExporter::class => false,
        ],
    ],
    'controllers' => [
        'factories' => [
+5 −1
Changes for module/Soutenance/view/soutenance/index/index-rapporteur.phtml: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -87,9 +87,13 @@ $canAnnuler = ($membre)?$this->isAllowed($membre->getActeur(), AvisSoutenancePri
    <div class="card-body">
        <?php if ($proposition !== null) : ?>
            <h3> Date et lieu </h3>
            <?php if($proposition->getDate()): ?>
                La soutenance est prévue pour le <strong><?php echo $proposition->getDate()->format(Constants::DATETIME_FORMAT); ?></strong>
                dans <strong><?php echo $proposition->getLieu(); ?></strong>.

            <?php else: ?>
                <span class="icon icon-warning"></span>
                Aucune date n'a encore été renseignée dans la proposition.
            <?php endif; ?>
            <h3> Jury </h3>
            <table class="table table-sm">
                <thead>