From 6006bdd169ba14aa84033d8dcd6ffcfbb2161d4b Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Tue, 5 Dec 2023 14:02:49 +0100 Subject: [PATCH] Simplification chemins --- _nav.html | 11 +++++------ inventaire.html | 9 ++++----- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/_nav.html b/_nav.html index 23df109..34036a9 100644 --- a/_nav.html +++ b/_nav.html @@ -1,10 +1,9 @@ -{{:assign base_path="/m/%s"|args:$module.name}} diff --git a/inventaire.html b/inventaire.html index 2b22316..e72fe5b 100644 --- a/inventaire.html +++ b/inventaire.html @@ -45,7 +45,6 @@ - {{: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 @@ {{: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"}} @@ -122,12 +121,12 @@ {{: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"}}