Ajout message de fin de traitement (bis)

This commit is contained in:
Jean-Christophe Engel 2023-10-27 09:23:18 +02:00
parent f3fd16615f
commit 9840a3044e
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
{{* voir s'il reste des mouvements pour le matériel concerné par la sortie *}} {{* voir s'il reste des mouvements pour le matériel concerné par la sortie *}}
{{:redirect to="./index.html"}} {{:redirect force="./index.html?ok=1&msg=Sortie supprimée"}}
{{/form}} {{/form}}
{{:delete_form legend="Supprimer cette sortie ?" warning="Supprimer la sortie « %d %s » en date du %s ?"|args:$movement.amount:$equipment.designation:$movement.date }} {{:delete_form legend="Supprimer cette sortie ?" warning="Supprimer la sortie « %d %s » en date du %s ?"|args:$movement.amount:$equipment.designation:$movement.date }}

View File

@ -5,7 +5,7 @@
{{:include file="/%s/_nav.html"|args:$module.name current="sorties"}} {{:include file="/%s/_nav.html"|args:$module.name current="sorties"}}
{{if $_GET.ok}} {{if $_GET.ok}}
<p class="block confirm">Sortie enregistrée.</p> <p class="block confirm">{{$_GET.msg}}</p>
{{/if}} {{/if}}
<form method="post" action=""> <form method="post" action="">

View File

@ -39,7 +39,7 @@
comment=$_POST.remarques|trim comment=$_POST.remarques|trim
}} }}
{{:redirect to="index.html?ok=1"}} {{:redirect force="index.html?ok=1&msg=Sortie de « %s » enregistrée"|args:$equipment.designation}}
{{else}} {{else}}
{{:form_errors}} {{:form_errors}}
{{/form}} {{/form}}