36 lines
1002 B
HTML
36 lines
1002 B
HTML
{{* -*- brindille -*- *}}
|
|
|
|
{{:admin_header title="Gestion des matériels" custom_css=$custom_css current="module_equipment"}}
|
|
|
|
{{* barre de navigation *}}
|
|
{{:include file="_nav.html" current="index" subcurrent="proprio"}}
|
|
|
|
{{if $_GET.ok}}
|
|
{{if $_GET.msg == "ajout" }}
|
|
<p class="block confirm">Ajout effectué</p>
|
|
{{elseif $_GET.msg == "modification" }}
|
|
<p class="block confirm">Modification effectuée</p>
|
|
{{else}}
|
|
<p class="block confirm">{{$_GET.msg}}</p>
|
|
{{/if}}
|
|
{{elseif $_GET.err}}
|
|
<p class="block error">Modification refusée</p>
|
|
{{/if}}
|
|
|
|
{{#load type="category"}}
|
|
{{:assign var="category_keys." value=$key}}
|
|
{{/load}}
|
|
|
|
{{if $category_keys|count == 0}}
|
|
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
|
|
{{else}}
|
|
{{*
|
|
<fieldset>
|
|
{{:linkbutton label="Ajouter un nouveau matériel" shape="plus" href="mouvements/ajouter_entree.html" target="_dialog"}}
|
|
</fieldset>
|
|
*}}
|
|
{{:include file="./inventaire.html" print_cat_name=true}}
|
|
{{/if}}
|
|
|
|
{{:admin_footer}}
|