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

Correction problème de privilège

parent 3daba317
Loading
Loading
Loading
Loading
+3 −3
Changes for module/Formation/view/formation/inscription/recherche/index.phtml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ $canSupprimerInscription = $this->isAllowed(InscriptionPrivileges::getReso
                            <span class="fas fa-list-alt"></span>
                        </a>
                    <?php endif; ?>
                    <?php if ($canHistoriser) : ?>
                    <?php if ($canHistoriserInscription) : ?>
                        <?php if ($inscription->estNonHistorise()) : ?>
                            <?php /** @see \Formation\Controller\InscriptionController::historiserAction() */ ?>
                            <a href="<?php echo $this->url('formation/inscription/historiser', ['inscription' => $inscription->getId()], [], true); ?>"
@@ -113,12 +113,12 @@ $canSupprimerInscription = $this->isAllowed(InscriptionPrivileges::getReso
                            </a>
                        <?php endif; ?>
                    <?php endif; ?>
                    <?php if ($canSupprimer) : ?>
                    <?php if ($canSupprimerInscription AND $inscription->estHistorise()) : ?>
                        <?php /** @see \Formation\Controller\InscriptionController::supprimerAction() */?>
                        <a href="<?php echo $this->url('formation/inscription/supprimer',['inscription' => $inscription->getId()], [], true); ?>"
                           class="ajax-modal" data-event="modification"
                           title="Suppression de l'inscription de <?php echo $inscription->getDoctorant()->getIndividu()->getNomComplet(); ?>" data-bs-toggle="tooltip" data-bs-html="true">
                            <span class="icon icon-detruire"></span>
                            <span class="icon icon-detruire text-danger"></span>
                        </a>
                    <?php endif; ?>
                </td>