Mise en place gestion accès aux pages
This commit is contained in:
parent
cefc3e824d
commit
63775189da
31 changed files with 94 additions and 31 deletions
|
|
@ -1,9 +1,6 @@
|
|||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{* barre de navigation *}}
|
||||
{{if ! $dialog}}
|
||||
{{:include file="../_nav.html" current="config" subcurrent="categories"}}
|
||||
{{/if}}
|
||||
{{#restrict block=true section="accounting" level="write"}}{{/restrict}}
|
||||
|
||||
{{* Traiter l'envoi du formulaire *}}
|
||||
{{#form on="save"}}
|
||||
|
|
@ -25,6 +22,11 @@
|
|||
{{/form}}
|
||||
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
{{* barre de navigation *}}
|
||||
{{if ! $dialog}}
|
||||
{{:include file="../_nav.html" current="config" subcurrent="categories"}}
|
||||
{{/if}}
|
||||
|
||||
{{:form_errors}}
|
||||
|
||||
{{* formulaire d'ajout de catégorie *}}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{#restrict block=true section="accounting" level="write"}}{{/restrict}}
|
||||
|
||||
{{#load key=$_GET.key assign="category"}}
|
||||
{{else}}
|
||||
{{:error message="Catégorie introuvable"}}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{#restrict block=true section="accounting" level="write"}}{{/restrict}}
|
||||
|
||||
{{:admin_header title="Configuration" current="module_equipment"}}
|
||||
|
||||
{{* barre de navigation *}}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{#restrict block=true section="accounting" level="write"}}{{/restrict}}
|
||||
|
||||
{{#load key=$_GET.key assign="category"}}
|
||||
{{else}}
|
||||
{{:error message="Catégorie introuvable"}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue