equipment/index.html

36 lines
1002 B
HTML
Raw Normal View History

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 *}}
{{:include file="_nav.html" current="index" subcurrent="proprio"}}
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>
{{elseif $_GET.msg == "modification" }}
<p class="block confirm">Modification effectuée</p>
2024-10-28 09:53:29 +01:00
{{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"}}
{{:assign var="category_keys." value=$key}}
2023-12-05 19:17:08 +01:00
{{/load}}
2023-10-10 10:59:46 +02: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}}
{{*
<fieldset>
{{:linkbutton label="Ajouter un nouveau matériel" shape="plus" href="mouvements/ajouter_entree.html" target="_dialog"}}
</fieldset>
*}}
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}}