summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog/templates
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/blog/templates')
-rw-r--r--talermerchantdemos/blog/templates/article_frame.html5
-rw-r--r--talermerchantdemos/blog/templates/confirm_refund.html4
-rw-r--r--talermerchantdemos/blog/templates/index.html7
3 files changed, 9 insertions, 7 deletions
diff --git a/talermerchantdemos/blog/templates/article_frame.html b/talermerchantdemos/blog/templates/article_frame.html
index 1efc0d1..8c2b6d4 100644
--- a/talermerchantdemos/blog/templates/article_frame.html
+++ b/talermerchantdemos/blog/templates/article_frame.html
@@ -4,7 +4,8 @@
<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.
+ You did not like this article?
+ <a href="{{ url_for('confirm_refund', lang='en', order_id=order_id) }}">Get a refund</a>
+ within the first hour after buying it.
</p>
{% endblock main %}
diff --git a/talermerchantdemos/blog/templates/confirm_refund.html b/talermerchantdemos/blog/templates/confirm_refund.html
index 10aaa74..c4773d3 100644
--- a/talermerchantdemos/blog/templates/confirm_refund.html
+++ b/talermerchantdemos/blog/templates/confirm_refund.html
@@ -3,12 +3,12 @@
<h1>Refund Article?</h1>
<p>
- Do you want to get a refund for the article <em>{{ article_name }}</em>? After you've requested a refund,
+ Do you want to get a refund for the article <em>{{ article_name }}</em>? After you have requested a refund,
you won't be able to read the article anymore.
</p>
<p>
- You will only be able to receive the refund on the same wallet that you've used to pay
+ You will only be able to receive the refund on the same wallet that you have used to pay
for this article originally.
</p>
diff --git a/talermerchantdemos/blog/templates/index.html b/talermerchantdemos/blog/templates/index.html
index 0159779..0702bf7 100644
--- a/talermerchantdemos/blog/templates/index.html
+++ b/talermerchantdemos/blog/templates/index.html
@@ -24,14 +24,15 @@
<h2>Chapters</h2>
<div>
Click on an individual chapter to to purchase it. You can
- get free, virtual money to buy articles on this page at the <a href="{{ env('TALER_ENV_URL_BANK', '#') }}">bank</a>.
+ get free, virtual money to buy articles on this page at the
+ <a href="{{ env('TALER_ENV_URL_BANK', '#') }}">bank</a>.
</div>
<div>
{% for article in articles %}
<div class="notice">
- <h3><a href="{{ url_for('article', article_name=article.slug) }}">{{article.title}}</a></h3>
- <p>{{ article.teaser|safe }} <a href="{{ url_for('article', article_name=article.slug) }}">(Pay to read more...)</a></p>
+ <h3><a href="{{ url_for('article', lang=article.lang, article_name=article.slug) }}">{{article.title}}</a></h3>
+ <p>{{ article.teaser|safe }} <a href="{{ url_for('article', lang=article.lang, article_name=article.slug) }}">(Pay to read more...)</a></p>
</div>
{% else %}
<em>(No articles available)</em>