From 30b8a0a6bfca1e04d69e3409529106d4f20332b7 Mon Sep 17 00:00:00 2001 From: Lukas Grossberger Date: Sat, 27 Apr 2019 19:19:26 +0200 Subject: move to common base template (#5704) --- talerdonations/donations/templates/base.html | 55 ---------------------- talerdonations/donations/templates/checkout.html | 6 +-- talerdonations/donations/templates/error.html | 7 +-- .../donations/templates/fulfillment.html | 6 +-- .../templates/provider-not-supported.html | 6 +-- 5 files changed, 13 insertions(+), 67 deletions(-) delete mode 100644 talerdonations/donations/templates/base.html (limited to 'talerdonations') diff --git a/talerdonations/donations/templates/base.html b/talerdonations/donations/templates/base.html deleted file mode 100644 index 86f81a9..0000000 --- a/talerdonations/donations/templates/base.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - Taler Donation Demo - - - - {% block styles %}{% endblock %} - {% block scripts %}{% endblock %} - - - -
-

Taler Demo

-

Donations

-

This is the donation page, you can make donations (with an imaginary currency for now) to free software projects.

- -

You can learn more about Taler on our main website.

-
- -
- {% block main %} - This is the main content of the page. - {% endblock %} -
- -
- - diff --git a/talerdonations/donations/templates/checkout.html b/talerdonations/donations/templates/checkout.html index 5c3e116..9d6ead1 100644 --- a/talerdonations/donations/templates/checkout.html +++ b/talerdonations/donations/templates/checkout.html @@ -1,6 +1,6 @@ -{% extends "templates/base.html" %} +{% extends "static/web-common/templates/base.html" %} -{% block main %} +{% block page_content %}

Select your payment method

@@ -56,4 +56,4 @@
-{% endblock main %} +{% endblock %} diff --git a/talerdonations/donations/templates/error.html b/talerdonations/donations/templates/error.html index 0d4bd02..80becdf 100644 --- a/talerdonations/donations/templates/error.html +++ b/talerdonations/donations/templates/error.html @@ -1,5 +1,6 @@ -{% extends "templates/base.html" %} -{% block main %} +{% extends "static/web-common/templates/base.html" %} + +{% block page_content %}

An Error Occurred

{{ message }}

@@ -19,4 +20,4 @@ {{ stack }} {% endif %} -{% endblock main %} +{% endblock %} diff --git a/talerdonations/donations/templates/fulfillment.html b/talerdonations/donations/templates/fulfillment.html index f128693..4bfa284 100644 --- a/talerdonations/donations/templates/fulfillment.html +++ b/talerdonations/donations/templates/fulfillment.html @@ -1,9 +1,9 @@ -{% extends "templates/base.html" %} +{% extends "static/web-common/templates/base.html" %} -{% block main %} +{% block page_content %}

Donation Receipt

Thank you, {{ donation_donor }}, for donating {{ donation_amount }} to {{ donation_receiver }}.

Please keep the order identifier {{ order_id }} as a receipt for your donation. You can show other people that you donated by sharing this link with them.

-{% endblock main %} +{% endblock %} diff --git a/talerdonations/donations/templates/provider-not-supported.html b/talerdonations/donations/templates/provider-not-supported.html index e10d66a..a6bd13b 100644 --- a/talerdonations/donations/templates/provider-not-supported.html +++ b/talerdonations/donations/templates/provider-not-supported.html @@ -1,5 +1,5 @@ -{% extends "templates/base.html" %} +{% extends "static/web-common/templates/base.html" %} -{% block main %} +{% block page_content %} Unfortunately the selected payment provider is not supported in this demo. -{% endblock main %} +{% endblock %} -- cgit v1.2.3