Simplification chemins

This commit is contained in:
Jean-Christophe Engel 2023-12-05 14:02:49 +01:00
parent 6b6a54c357
commit 6006bdd169
2 changed files with 9 additions and 11 deletions

View file

@ -45,7 +45,6 @@
</thead>
<tbody>
{{:assign base_path="/m/%s"|args:$module.name}}
{{* itérer sur les matériels de la catégorie *}}
{{#foreach from=$category.eqpmt key="eqpmt_key" item="eqpmt"}}
@ -60,12 +59,12 @@
<td class="actions">
{{:linkbutton
label="Historique des mouvements"
href="%s/historique.html?key=%s"|args:$base_path:$eqpmt_key
href="%shistorique.html?key=%s"|args:$module.url:$eqpmt_key
shape="table"
target="_dialog"}}
{{:linkbutton
label="Modifier"
href="%s/modifier_materiel.html?key=%s"|args:$base_path:$eqpmt_key
href="%smodifier_materiel.html?key=%s"|args:$module.url:$eqpmt_key
shape="edit"
target="_dialog"}}
</td>
@ -122,12 +121,12 @@
<td class="actions">
{{:linkbutton
label="Historique des mouvements"
href="%s/historique.html?key=%s"|args:$base_path:$eqpmt_key
href="%shistorique.html?key=%s"|args:$module.url:$eqpmt_key
shape="table"
target="_dialog"}}
{{:linkbutton
label="Modifier"
href="%s/modifier_materiel.html?key=%s"|args:$base_path:$eqpmt_key
href="%smodifier_materiel.html?key=%s"|args:$module.url:$eqpmt_key
shape="edit"
target="_dialog"}}
</td>