summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-27 19:44:34 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-27 19:44:34 +0100
commit7b5a09b0a26aa71565a441794d4911774b75c0ce (patch)
tree795b8d812101368e28c02aa8785cf13a356d77db /template
parentc7db03a8948c604d96d22d4cb0d56fd83acba623 (diff)
downloadwww-7b5a09b0a26aa71565a441794d4911774b75c0ce.tar.gz
www-7b5a09b0a26aa71565a441794d4911774b75c0ce.tar.bz2
www-7b5a09b0a26aa71565a441794d4911774b75c0ce.zip
preserve language when moving to demo
Diffstat (limited to 'template')
-rw-r--r--template/index.html.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2
index f3b82e9..c8b2bea 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -39,7 +39,7 @@
<a href="https://gnu.org/philosophy/free-sw.html">{{ _("Free Software") }}</a>
</li>
</ul>
- <form action="https://demo.taler.net/" style="display:inline;"><button type="submit" class="btn btn-primary">{{ _("Try Demo!")}}</button></form>
+ <form action="{{ "https://demo.taler.net/" + lang + "/" }}" style="display:inline;"><button type="submit" class="btn btn-primary">{{ _("Try Demo!")}}</button></form>
<form action="https://docs.taler.net/" style="display:inline;"><button type="submit" class="btn btn-secondary">{{ _("Read Docs")}}</button></form>
</p>
</div>