Ajout contrôles et messages
This commit is contained in:
parent
c86154d1b3
commit
005b53096c
4 changed files with 16 additions and 3 deletions
11
index.html
11
index.html
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue