Loading view/unicaen-parametre/categorie/index.phtml +4 −4 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ if ($selection !== null) $categories = [ $selection ]; <a <?php /** @see \UnicaenParametre\Controller\CategorieController::ajouterAction() */ ?> href="<?php echo $this->url('parametre/categorie/ajouter', ['categorie' => -1], [], true); ?>" class="btn btn-primary action ajax-modal" data-event="modification"> class="btn btn-primary ajax-modal" data-event="modification"> <i class="fas fa-plus"></i> Ajouter une catégorie </a> <?php endif; ?> Loading @@ -52,17 +52,17 @@ if ($selection !== null) $categories = [ $selection ]; <?php if ($selection === null) : ?> <a <?php /** @see \UnicaenParametre\Controller\CategorieController::modifierAction() */?> href="<?php echo $this->url('parametre/categorie/modifier', ['categorie' => $categorie->getId()], [], true); ?>" class="btn btn-primary action ajax-modal" data-event="modification"> class="btn btn-primary ajax-modal" data-event="modification"> <i class="fas fa-pencil-alt"></i> Modifier la catégorie </a> <?php if (!isset($array_parametre[$id]) OR empty ($array_parametre[$id])) : ?> <a <?php /** @see \UnicaenParametre\Controller\CategorieController::supprimerAction() */?> href="<?php echo $this->url('parametre/categorie/supprimer', ['categorie' => $categorie->getId()], [], true); ?>" class="btn btn-danger action ajax-modal" data-event="modification"> class="btn btn-danger ajax-modal" data-event="modification"> <i class="fas fa-times"></i> Supprimer la catégorie </a> <?php else : ?> <span class="btn btn-danger action disabled" data-bs-toggle="tooltip" data-bs-html="true" <span class="btn btn-danger disabled" data-bs-toggle="tooltip" data-bs-html="true" title="La catégorie est non vide et ne peut être supprimée" > <i class="fas fa-times"></i> Supprimer la catégorie Loading Loading
view/unicaen-parametre/categorie/index.phtml +4 −4 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ if ($selection !== null) $categories = [ $selection ]; <a <?php /** @see \UnicaenParametre\Controller\CategorieController::ajouterAction() */ ?> href="<?php echo $this->url('parametre/categorie/ajouter', ['categorie' => -1], [], true); ?>" class="btn btn-primary action ajax-modal" data-event="modification"> class="btn btn-primary ajax-modal" data-event="modification"> <i class="fas fa-plus"></i> Ajouter une catégorie </a> <?php endif; ?> Loading @@ -52,17 +52,17 @@ if ($selection !== null) $categories = [ $selection ]; <?php if ($selection === null) : ?> <a <?php /** @see \UnicaenParametre\Controller\CategorieController::modifierAction() */?> href="<?php echo $this->url('parametre/categorie/modifier', ['categorie' => $categorie->getId()], [], true); ?>" class="btn btn-primary action ajax-modal" data-event="modification"> class="btn btn-primary ajax-modal" data-event="modification"> <i class="fas fa-pencil-alt"></i> Modifier la catégorie </a> <?php if (!isset($array_parametre[$id]) OR empty ($array_parametre[$id])) : ?> <a <?php /** @see \UnicaenParametre\Controller\CategorieController::supprimerAction() */?> href="<?php echo $this->url('parametre/categorie/supprimer', ['categorie' => $categorie->getId()], [], true); ?>" class="btn btn-danger action ajax-modal" data-event="modification"> class="btn btn-danger ajax-modal" data-event="modification"> <i class="fas fa-times"></i> Supprimer la catégorie </a> <?php else : ?> <span class="btn btn-danger action disabled" data-bs-toggle="tooltip" data-bs-html="true" <span class="btn btn-danger disabled" data-bs-toggle="tooltip" data-bs-html="true" title="La catégorie est non vide et ne peut être supprimée" > <i class="fas fa-times"></i> Supprimer la catégorie Loading