modification url et déplacement bouton créer nouveau matériel

This commit is contained in:
Jean-Christophe Engel 2024-10-29 10:24:50 +01:00
parent 9a11e55ad7
commit 5307a847b9
3 changed files with 14 additions and 13 deletions

View file

@ -8,6 +8,8 @@
{{if $_GET.ok}}
{{if $_GET.msg == "ajout" }}
<p class="block confirm">Ajout effectué</p>
{{elseif $_GET.msg == "modification" }}
<p class="block confirm">Modification effectuée</p>
{{else}}
<p class="block confirm">{{$_GET.msg}}</p>
{{/if}}
@ -22,6 +24,9 @@
{{if $category_keys|count == 0}}
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
{{else}}
<fieldset>
{{:linkbutton label="Ajouter un nouveau matériel" shape="plus" href="mouvements/ajouter_entree.html" target="_dialog"}}
</fieldset>
{{:include file="./inventaire.html" print_cat_name=true}}
{{/if}}