summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog/templates
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-09-08 17:18:45 +0200
committerMS <ms@taler.net>2020-09-08 17:18:45 +0200
commit57667591de3ce0f8b758dfd85b7475405602ce63 (patch)
tree32a4287e1a7afaa662c4514a7d136ccffa31e547 /talermerchantdemos/blog/templates
parenta2fe62582f8d79b34df8e2a6144c9f3f1f5b1179 (diff)
downloadtaler-merchant-demos-57667591de3ce0f8b758dfd85b7475405602ce63.tar.gz
taler-merchant-demos-57667591de3ce0f8b758dfd85b7475405602ce63.tar.bz2
taler-merchant-demos-57667591de3ce0f8b758dfd85b7475405602ce63.zip
hide refund (#5865)
Diffstat (limited to 'talermerchantdemos/blog/templates')
-rw-r--r--talermerchantdemos/blog/templates/article_frame.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/talermerchantdemos/blog/templates/article_frame.html b/talermerchantdemos/blog/templates/article_frame.html
index 1efc0d1..a5050d3 100644
--- a/talermerchantdemos/blog/templates/article_frame.html
+++ b/talermerchantdemos/blog/templates/article_frame.html
@@ -2,9 +2,12 @@
{% block main %}
{% include "articles/" + article_file %}
+{% if refundable %}
<hr>
<p>
You don't like this article? <a href="{{ url_for('confirm_refund', order_id=order_id) }}">Get a refund</a> within
the first hour after buying it.
</p>
+{% endif %}
+
{% endblock main %}