From 46dd63af682246c162423e37e0361e2d644c93e1 Mon Sep 17 00:00:00 2001
From: Christian Grothoff
Date: Mon, 12 Oct 2020 13:38:35 +0200
Subject: share menu and style sheets across demo pages (fixes #5704)
---
talermerchantdemos/survey/templates/base.html.j2 | 72 +-----------------------
1 file changed, 3 insertions(+), 69 deletions(-)
(limited to 'talermerchantdemos/survey/templates/base.html.j2')
diff --git a/talermerchantdemos/survey/templates/base.html.j2 b/talermerchantdemos/survey/templates/base.html.j2
index 2b424f1..734da6f 100644
--- a/talermerchantdemos/survey/templates/base.html.j2
+++ b/talermerchantdemos/survey/templates/base.html.j2
@@ -21,45 +21,7 @@
-
-
+
{% block styles %}{% endblock %}
{% block scripts %}{% endblock %}
@@ -74,41 +36,13 @@
}}
-
-
-
+ {% from 'templates/menu.html.j2' import menu with context %} {{ menu('survey') }}
{% block main %}
This is the main content of the page.
{% endblock %}
-
-
-
{{ gettext('You can learn more about GNU Taler on our main website.').format(site="https://taler.net/") }}