Ajout contrôles et messages

This commit is contained in:
Jean-Christophe Engel 2023-11-29 15:35:31 +01:00
parent c86154d1b3
commit 005b53096c
4 changed files with 16 additions and 3 deletions

View file

@ -3,6 +3,15 @@
{{* barre de navigation *}}
{{:include file="/%s/_nav.html"|args:$module.name current="index"}}
{{:include file="./inventaire.html" print_cat_name=true}}
{{#select
key
FROM module_data_equipment as cat
WHERE json_extract(cat.document, '$.type') = 'category'
}}
{{:assign var="categories." value=$key}}
{{:include file="./inventaire.html" print_cat_name=true}}
{{else}}
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
{{/select}}
{{:admin_footer}}