Loading config/merged/formulaire.config.php +1 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,7 @@ return [ 'options' => [ 'route' => '/formulaires', 'defaults' => [ /** @see FormulaireController::indexAction() */ 'controller' => FormulaireController::class, 'action' => 'index', ], Loading view/unicaen-autoform/formulaire/modifier.phtml +12 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ usort($categories, function (Categorie $a, Categorie $b) { return ($a->getOrdre( $canModifierDescription = $this->isAllowed(AutoformformulairePrivileges::getResourceId(AutoformformulairePrivileges::FORMULAIRE_MODIFIER)); $canCanIndexFormulaire = $this->isAllowed(AutoformformulairePrivileges::getResourceId(AutoformformulairePrivileges::FORMULAIRE_INDEX)); $canAjouterCategorie = $this->isAllowed(AutoformcategoriePrivileges::getResourceId(AutoformcategoriePrivileges::CATEGORIEF_AJOUTER)); $canModifierCategorie = $this->isAllowed(AutoformcategoriePrivileges::getResourceId(AutoformcategoriePrivileges::CATEGORIEF_MODIFIER)); Loading Loading @@ -43,10 +44,20 @@ $canDetruireChamp = $this->isAllowed(AutoformchampPrivileges::getResou class="btn btn-primary ajax-modal" data-event="modification" > <span class="editer"></span> <span class="icon icon-editer"></span> Modifier description </a> <?php endif; ?> <?php if ($canCanIndexFormulaire) : ?> <a <?php /** @see \UnicaenAutoform\Controller\FormulaireController::indexAction() */ ?> href="<?php echo $this->url('autoform/formulaires', [], [], true); ?>" class="btn btn-secondary" > <span class="icon icon-listing"></span> Retourner à l'index des formulaires </a> <?php endif; ?> <dl> <dt> Libellé </dt> Loading Loading
config/merged/formulaire.config.php +1 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,7 @@ return [ 'options' => [ 'route' => '/formulaires', 'defaults' => [ /** @see FormulaireController::indexAction() */ 'controller' => FormulaireController::class, 'action' => 'index', ], Loading
view/unicaen-autoform/formulaire/modifier.phtml +12 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ usort($categories, function (Categorie $a, Categorie $b) { return ($a->getOrdre( $canModifierDescription = $this->isAllowed(AutoformformulairePrivileges::getResourceId(AutoformformulairePrivileges::FORMULAIRE_MODIFIER)); $canCanIndexFormulaire = $this->isAllowed(AutoformformulairePrivileges::getResourceId(AutoformformulairePrivileges::FORMULAIRE_INDEX)); $canAjouterCategorie = $this->isAllowed(AutoformcategoriePrivileges::getResourceId(AutoformcategoriePrivileges::CATEGORIEF_AJOUTER)); $canModifierCategorie = $this->isAllowed(AutoformcategoriePrivileges::getResourceId(AutoformcategoriePrivileges::CATEGORIEF_MODIFIER)); Loading Loading @@ -43,10 +44,20 @@ $canDetruireChamp = $this->isAllowed(AutoformchampPrivileges::getResou class="btn btn-primary ajax-modal" data-event="modification" > <span class="editer"></span> <span class="icon icon-editer"></span> Modifier description </a> <?php endif; ?> <?php if ($canCanIndexFormulaire) : ?> <a <?php /** @see \UnicaenAutoform\Controller\FormulaireController::indexAction() */ ?> href="<?php echo $this->url('autoform/formulaires', [], [], true); ?>" class="btn btn-secondary" > <span class="icon icon-listing"></span> Retourner à l'index des formulaires </a> <?php endif; ?> <dl> <dt> Libellé </dt> Loading