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)
---
.../donations/templates/base.html.j2 | 73 +---------------------
1 file changed, 3 insertions(+), 70 deletions(-)
(limited to 'talermerchantdemos/donations/templates/base.html.j2')
diff --git a/talermerchantdemos/donations/templates/base.html.j2 b/talermerchantdemos/donations/templates/base.html.j2
index f3b1359..307705f 100644
--- a/talermerchantdemos/donations/templates/base.html.j2
+++ b/talermerchantdemos/donations/templates/base.html.j2
@@ -21,45 +21,7 @@
-
-
+
{% block styles %}{% endblock %}
{% block scripts %}{% endblock %}
@@ -74,42 +36,13 @@
}}
-
-
-
-
+ {% from 'templates/menu.html.j2' import menu with context %} {{ menu('donations') }}
{% 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/") }}