summaryrefslogtreecommitdiff
path: root/talermerchantdemos/templates/blog-article-frame.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/templates/blog-article-frame.html.j2')
-rw-r--r--talermerchantdemos/templates/blog-article-frame.html.j220
1 files changed, 20 insertions, 0 deletions
diff --git a/talermerchantdemos/templates/blog-article-frame.html.j2 b/talermerchantdemos/templates/blog-article-frame.html.j2
new file mode 100644
index 0000000..1b51c9d
--- /dev/null
+++ b/talermerchantdemos/templates/blog-article-frame.html.j2
@@ -0,0 +1,20 @@
+{% extends "blog-base.html.j2" %}
+{% block main %}
+
+{{ article_contents | safe }}
+
+<hr>
+
+{% if refundable %}
+<p class="graybox">
+ {{
+ gettext("Taler allows merchants to offer refunds to customers.") +
+ gettext('You can <a href="{url}">request a refund</a> within the first hour after buying this article.').format(url=url_for('confirm_refund', lang='en', order_id=order_id))
+ }}
+</p>
+{% else %}
+{{ gettext("Taler allows merchants to offer refunds to customers.") }}
+{{ gettext("This article can't be refunded anymore.") }}
+{% endif %}
+
+{% endblock main %}