gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-merchant-demos] branch master updated: survey: tolerate und


From: gnunet
Subject: [taler-taler-merchant-demos] branch master updated: survey: tolerate undefined script_name.
Date: Wed, 26 Oct 2022 17:11:07 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository taler-merchant-demos.

The following commit(s) were added to refs/heads/master by this push:
     new 16ced5a  survey: tolerate undefined script_name.
16ced5a is described below

commit 16ced5ae119dbff16ec3b8d1a2a6a8037e72e684
Author: MS <ms@taler.net>
AuthorDate: Wed Oct 26 17:08:53 2022 +0200

    survey: tolerate undefined script_name.
    
    That used to break the survey <form>, as
    the action URI could not be constructed.
---
 talermerchantdemos/templates/survey-index.html.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talermerchantdemos/templates/survey-index.html.j2 
b/talermerchantdemos/templates/survey-index.html.j2
index 4a804fb..3af0d5b 100644
--- a/talermerchantdemos/templates/survey-index.html.j2
+++ b/talermerchantdemos/templates/survey-index.html.j2
@@ -8,7 +8,7 @@
     </p>
   </div>
   <div>
-    <form action="{{ script_name + "/" + getlang() + "/submit-survey" }}" 
method="post" class="pure-form pure-form-stacked">
+    <form action="{{ script_name or "" + "/" + getlang() + "/submit-survey" 
}}" method="post" class="pure-form pure-form-stacked">
       <fieldset>
       <legend>{{ gettext("Which payment system do you prefer?") }}</legend>
       <label for="option-taler">

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]