Skip to content
Snippets Groups Projects
Commit 1d227042 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

[FIX] icone des actions masquées

parent 1519f723
No related branches found
No related tags found
No related merge requests found
Pipeline #17190 passed
......@@ -19,7 +19,7 @@ $this->headTitle("Catégories d'état");
<?php /** @see \UnicaenEtat\Controller\EtatCategorieController::ajouterAction() */ ?>
<a href="<?php echo $this->url('unicaen-etat/etat-categorie/ajouter', [], [], true); ?>"
class="btn btn-primary action ajax-modal" data-event="modification">
<span class="icon ajouter"></span>
<span class="icon icon-ajouter"></span>
Ajouter une catégorie d'état
</a>
</div>
......@@ -65,14 +65,14 @@ $this->headTitle("Catégories d'état");
<?php /** @see \UnicaenEtat\Controller\EtatCategorieController::modifierAction() */ ?>
<a href="<?php echo $this->url('unicaen-etat/etat-categorie/modifier', ['categorie' => $etatCategorie->getId()], [], true); ?>"
class="ajax-modal" data-event="modification">
<span class="icon editer"></span></a>
<span class="icon icon-editer"></span></a>
<?php if ($nb === 0) : ?>
<?php /** @see \UnicaenEtat\Controller\EtatCategorieController::supprimerAction() */ ?>
<a href="<?php echo $this->url('unicaen-etat/etat-categorie/supprimer', ['categorie' => $etatCategorie->getId()], [], true); ?>"
class="ajax-modal" data-event="modification">
<span class="icon detruire"></span></a>
<span class="icon icon-unchecked text-danger"></span></a>
<?php else : ?>
<span class="icon detruire nope" title="<span class='icon attention'></span> Au moins un type d'état d'attaché à cette catégorie" data-toggle="tooltip" data-html="true"></span>
<span class="icon icon-unchecked nope" title="<span class='icon attention'></span> Au moins un type d'état d'attaché à cette catégorie" data-bs-toggle="tooltip" data-bs-html="true"></span>
<?php endif; ?>
</td>
</tr>
......
......@@ -63,7 +63,7 @@ $this->headTitle("Catégories d'état");
<a href="<?php echo $this->url(); ?>"
class="ajax-modal" data-event="modification"
>
<span class="icon detruire text-danger"></span></a>
<span class="icon icon-unchecked text-danger"></span></a>
</td>
</tr>
......
......@@ -73,11 +73,11 @@ $this->headTitle("Types d'état")
<?php /** @see \UnicaenEtat\Controller\EtatController::modifierAction() */ ?>
<a href="<?php echo $this->url('unicaen-etat/etat-type/modifier', ['type' => $type->getId()], [], true); ?>"
class="ajax-modal" data-event="modification">
<span class="icon editer"></span></a>
<span class="icon icon-editer"></span></a>
<?php /** @see \UnicaenEtat\Controller\EtatController::supprimerAction() */ ?>
<a href="<?php echo $this->url('unicaen-etat/etat-type/supprimer', ['type' => $type->getId()], [], true); ?>"
class="ajax-modal" data-event="modification">
<span class="icon detruire"></span></a>
<span class="icon icon-unchecked text-danger"></span></a>
</td>
</tr>
<?php endforeach; ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment