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

Ajustement des gardes de l'adresse exacte

parent a32def00
Loading
Loading
Loading
Loading
Loading
+3 −1
Changes for module/Soutenance/view/soutenance/proposition/partial/adresse.phtml: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ $adresse = $proposition->getAdresseActive();
        </div>

        <div>
            <?php if ($adresse === null && $proposition->getEtat()->getCode() !== Etat::COMPLET) : ?>
            <?php if ($proposition->getEtat()->getCode() !== Etat::VALIDEE) : ?>
                <?php if ($adresse === null) : ?>
                    <?php /** @see \Soutenance\Controller\PropositionController::ajouterAdresseAction() */ ?>
                    <a href="<?php echo $this->url('soutenance/proposition/ajouter-adresse', ['these' => $these->getId(), 'proposition' => $proposition->getId()], [], true); ?>"
                       class="btn btn-primary ajax-modal" data-event="modification">
@@ -42,6 +43,7 @@ $adresse = $proposition->getAdresseActive();
                        <span class="icon icon-historiser"> Supprimer l'adresse</span>
                    </a>
                <?php endif; ?>
            <?php endif; ?>
        </div>

        <?php if ($adresse !== null) : ?>