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 +---------------------
talermerchantdemos/survey/templates/footer.html.j2 | 1 +
.../survey/templates/language-switcher.html.j2 | 1 +
talermerchantdemos/survey/templates/menu.html.j2 | 1 +
4 files changed, 6 insertions(+), 69 deletions(-)
create mode 120000 talermerchantdemos/survey/templates/footer.html.j2
create mode 120000 talermerchantdemos/survey/templates/language-switcher.html.j2
create mode 120000 talermerchantdemos/survey/templates/menu.html.j2
(limited to 'talermerchantdemos/survey')
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 @@
}}
-
{% 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/") }}
-
-
Copyright © 2014—2020 Taler Systems SA
-
+ {% include 'templates/footer.html.j2' %}