réorganisation (cf remarques Bohwaz)
This commit is contained in:
parent
6006bdd169
commit
0e669a7c21
23 changed files with 279 additions and 236 deletions
15
index.html
15
index.html
|
|
@ -1,16 +1,17 @@
|
|||
{{#restrict section="accounting" level="read"}}{{/restrict}}
|
||||
{{:admin_header title="Gestion des matériels" custom_css=$custom_css current="module_equipment"}}
|
||||
|
||||
{{* barre de navigation *}}
|
||||
{{:include file="_nav.html" current="index"}}
|
||||
|
||||
{{#select
|
||||
key
|
||||
FROM module_data_equipment as cat
|
||||
WHERE json_extract(cat.document, '$.type') = 'category'
|
||||
}}
|
||||
{{if $_GET.ok}}
|
||||
<p class="block confirm">Modification effectuée</p>
|
||||
{{elseif $_GET.err}}
|
||||
<p class="block error">Modification refusée</p>
|
||||
{{/if}}
|
||||
|
||||
{{#load type="category"}}
|
||||
{{:assign var="categories." value=$key}}
|
||||
{{/select}}
|
||||
{{/load}}
|
||||
|
||||
{{if $categories|count == 0}}
|
||||
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue