Compare commits

...

3 commits

Author SHA1 Message Date
Jean-Christophe Engel
93591595a7 Remplacement bouton historique par hyperlien 2025-09-17 09:11:38 +02:00
Jean-Christophe Engel
5081d36580 Correction petit oubli 2025-09-17 09:10:50 +02:00
Jean-Christophe Engel
0e064f6db1 Ajout icône sur pàage d'accueil 2025-09-17 09:10:25 +02:00
4 changed files with 4 additions and 12 deletions

View file

@ -53,7 +53,7 @@
}} }}
{{:assign var=cat_name from=categories.%s|args:$category}} {{:assign var=cat_name from=categories.%s|args:$category}}
<tr> <tr>
<td>{{$name}}</td> <td>{{:link href="equipment_history.html?key=%s&prop=1"|args:$key" label=$name}}</td>
<td>{{$cat_name}}</td> <td>{{$cat_name}}</td>
<td class="num">{{$stock}}</td> <td class="num">{{$stock}}</td>
<td class="num">{{$out}}</td> <td class="num">{{$out}}</td>
@ -72,10 +72,6 @@
href="movements/input_equipment.html?key=%s"|args:$key href="movements/input_equipment.html?key=%s"|args:$key
target="_dialog"}} target="_dialog"}}
{{:linkbutton {{:linkbutton
label="Historique"
href="equipment_history.html?key=%s&prop=1"|args:$key
shape="table"}}
{{:linkbutton
label="Modifier" label="Modifier"
href="modify_equipment.html?key=%s&prop=1"|args:$key href="modify_equipment.html?key=%s&prop=1"|args:$key
shape="edit" shape="edit"

View file

@ -51,7 +51,7 @@
}} }}
{{:assign var=cat_name from=categories.%s|args:$category}} {{:assign var=cat_name from=categories.%s|args:$category}}
<tr> <tr>
<td>{{$name}}</td> <td>{{:link href="equipment_history.html?key=%s&prop=0"|args:$key" label=$name}}</td>
<td>{{$cat_name}}</td> <td>{{$cat_name}}</td>
<td class="num">{{$col3}}</td> <td class="num">{{$col3}}</td>
<td class="actions"> <td class="actions">
@ -61,10 +61,6 @@
href="movements/input_equipment.html?key=%s"|args:$key href="movements/input_equipment.html?key=%s"|args:$key
target="_dialog"}} target="_dialog"}}
{{:linkbutton {{:linkbutton
label="Historique"
href="equipment_history.html?key=%s&prop=0"|args:$key
shape="table"}}
{{:linkbutton
label="Modifier" label="Modifier"
href="modify_equipment.html?key=%s&prop=0"|args:$key href="modify_equipment.html?key=%s&prop=0"|args:$key
shape="edit" shape="edit"

View file

@ -1,6 +1,6 @@
{{* -*- brindille -*- *}} {{* -*- brindille -*- *}}
{{:admin_header title="Gestion des matériels" current="module_equipment"}} {{:admin_header title="Gestion des matériels" custom_css="./style.css" current="module_equipment"}}
{{* barre de navigation *}} {{* barre de navigation *}}
{{if $_GET.prop == null || $_GET.prop}} {{if $_GET.prop == null || $_GET.prop}}

View file

@ -2,7 +2,7 @@ name="Gestion des matériels"
description="Permet de gérer un inventaire de matériels, ainsi que de suivre les prêts (en test)." description="Permet de gérer un inventaire de matériels, ainsi que de suivre les prêts (en test)."
author="Jean-Christophe Engel" author="Jean-Christophe Engel"
author_url="https://gitea.zaclys.com/lesanges" author_url="https://gitea.zaclys.com/lesanges"
home_button=false home_button=true
menu=true menu=true
restrict_section="accounting" restrict_section="accounting"
restrict_level="write" restrict_level="write"