summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog/templates/article_frame.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/blog/templates/article_frame.html.j2')
-rw-r--r--talermerchantdemos/blog/templates/article_frame.html.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/talermerchantdemos/blog/templates/article_frame.html.j2 b/talermerchantdemos/blog/templates/article_frame.html.j2
new file mode 100644
index 0000000..a878e95
--- /dev/null
+++ b/talermerchantdemos/blog/templates/article_frame.html.j2
@@ -0,0 +1,15 @@
+{% extends "templates/base.html.j2" %}
+{% block main %}
+{% include "articles/" + article_file %}
+
+{% if refundable %}
+<hr>
+<p>
+ {{
+ gettext("You did not like this article?") +
+ gettext("You can <a href="{url}">request a refund</a> within the first hour after buying it.").format(url=url_for('confirm_refund', lang='en', order_id=order_id)
+ }}
+</p>
+{% endif %}
+
+{% endblock main %}