réorganisation (cf remarques Bohwaz)

This commit is contained in:
Jean-Christophe Engel 2023-12-05 19:17:08 +01:00
parent 6006bdd169
commit 0e669a7c21
23 changed files with 279 additions and 236 deletions

View file

@ -5,11 +5,19 @@
{{:include file="../_nav.html" current="categories"}}
{{if $_GET.ok}}
<p class="block confirm">{{$_GET.msg}}</p>
{{else}}
{{if $_GET.err}}
<p class="block error">{{$_GET.msg}}</p>
{{/if}}
{{if $_GET.msg == "modification"}}
<p class="block confirm">Modification enregistrée</p>
{{elseif $_GET.msg == "suppression"}}
<p class="block confirm">Catégorie supprimée</p>
{{/if}}
{{elseif $_GET.err}}
{{if $_GET.msg == "modification"}}
<p class="block error">{{$_GET.msg}}</p>
{{elseif $_GET.msg == "suppression"}}
<p class="block error">
Cette catégorie ne peut être supprimée car elle contient encore des matériels
</p>
{{/if}}
{{/if}}
{{* afficher les catégories déjà enregistrées *}}