2024-10-28 09:53:29 +01:00
|
|
|
{{* -*- brindille -*- *}}
|
|
|
|
|
2023-10-16 11:57:55 +02:00
|
|
|
{{:admin_header title="Gestion des matériels" custom_css=$custom_css current="module_equipment"}}
|
2023-10-10 10:59:46 +02:00
|
|
|
|
|
|
|
{{* barre de navigation *}}
|
2023-12-05 10:07:01 +01:00
|
|
|
{{:include file="_nav.html" current="index"}}
|
2023-10-16 11:57:55 +02:00
|
|
|
|
2023-12-05 19:17:08 +01:00
|
|
|
{{if $_GET.ok}}
|
2024-10-28 09:53:29 +01:00
|
|
|
{{if $_GET.msg == "ajout" }}
|
|
|
|
<p class="block confirm">Ajout effectué</p>
|
|
|
|
{{else}}
|
|
|
|
<p class="block confirm">{{$_GET.msg}}</p>
|
|
|
|
{{/if}}
|
2023-12-05 19:17:08 +01:00
|
|
|
{{elseif $_GET.err}}
|
2023-12-06 09:59:11 +01:00
|
|
|
<p class="block error">Modification refusée</p>
|
2023-12-05 19:17:08 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#load type="category"}}
|
2023-12-07 17:33:49 +01:00
|
|
|
{{:assign var="category_keys." value=$key}}
|
2023-12-05 19:17:08 +01:00
|
|
|
{{/load}}
|
2023-10-10 10:59:46 +02:00
|
|
|
|
2023-12-07 17:33:49 +01:00
|
|
|
{{if $category_keys|count == 0}}
|
2023-12-06 09:59:11 +01:00
|
|
|
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
|
2023-11-30 18:37:09 +01:00
|
|
|
{{else}}
|
2023-12-06 09:59:11 +01:00
|
|
|
{{:include file="./inventaire.html" print_cat_name=true}}
|
2023-11-30 18:37:09 +01:00
|
|
|
{{/if}}
|
|
|
|
|
2023-10-10 10:59:46 +02:00
|
|
|
{{:admin_footer}}
|