Fixed stripe template

This commit is contained in:
Raphael Michel
2015-08-13 20:34:46 +02:00
parent 88bf1af47b
commit 535d06c3ef

View File

@@ -5,7 +5,7 @@
<p>{% blocktrans trimmed %} <p>{% blocktrans trimmed %}
This order has been paid via Stripe. This order has been paid via Stripe.
{% endblocktrans %}</p> {% endblocktrans %}</p>
{% elif order.status == "p" %} {% elif order.status == "r" %}
<p>{% blocktrans trimmed %} <p>{% blocktrans trimmed %}
This order has been planned to be paid via Stripe and has been marked as refunded. This order has been planned to be paid via Stripe and has been marked as refunded.
{% endblocktrans %}</p> {% endblocktrans %}</p>
@@ -14,7 +14,7 @@
This order has been planned to be paid via Stripe, but the payment has not yet been completed. This order has been planned to be paid via Stripe, but the payment has not yet been completed.
{% endblocktrans %}</p> {% endblocktrans %}</p>
{% endif %} {% endif %}
{% if order.status != "p" %} {% if order.status == "p" %}
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>{% trans "Charge ID" %}</dt> <dt>{% trans "Charge ID" %}</dt>
<dd>{{ payment_info.id }}</dd> <dd>{{ payment_info.id }}</dd>