suppresssion module.url dans redirect

This commit is contained in:
Jean-Christophe Engel 2024-12-02 10:47:38 +01:00
parent b5afcb8ea3
commit edcecfd9e2
4 changed files with 8 additions and 8 deletions

View File

@ -114,17 +114,17 @@
<td class="actions">
{{:linkbutton
label="Dupliquer"
href="%smouvements/dupliquer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop
href="mouvements/dupliquer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
shape="plus"
target="_dialog"}}
{{:linkbutton
label="Modifier"
href="%smouvements/modifier_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop
href="mouvements/modifier_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
shape="edit"
target="_dialog"}}
{{:linkbutton
label="Supprimer"
href="%smouvements/supprimer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop
href="mouvements/supprimer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
shape="delete"
target="_dialog"}}
</td>

View File

@ -98,11 +98,11 @@
target="_dialog"}}
{{:linkbutton
label="Mouvements"
href="%shistorique.html?key=%s&prop=1"|args:$module.url:$equipment
href="historique.html?key=%s&prop=1"|args:$equipment
shape="table"}}
{{:linkbutton
label="Modifier"
href="%smodifier_materiel.html?key=%s&prop=1"|args:$module.url:$equipment
href="modifier_materiel.html?key=%s&prop=1"|args:$equipment
shape="edit"
target="_dialog"}}
</td>

View File

@ -84,11 +84,11 @@
target="_dialog"}}
{{:linkbutton
label="Mouvements"
href="%shistorique.html?key=%s&prop=0"|args:$module.url:$equipment
href="historique.html?key=%s&prop=0"|args:$equipment
shape="table"}}
{{:linkbutton
label="Modifier"
href="%smodifier_materiel.html?key=%s&prop=0"|args:$module.url:$equipment
href="modifier_materiel.html?key=%s&prop=0"|args:$equipment
shape="edit"
target="_dialog"}}
</td>

View File

@ -59,7 +59,7 @@
{{else}}
{{:assign prop=1}}
{{/if}}
{{:redirect force="%sindex.html?ok=1&msg=entrée&prop=%s"|args:$module.url:$prop}}
{{:redirect force="../../index.html?ok=1&msg=entrée&prop=%s"|args:$prop}}
{{else}}
{{:form_errors}}
{{/form}}