From 535d06c3ef1371d262b9ef85b7504a154ef19f77 Mon Sep 17 00:00:00 2001
From: Raphael Michel
Date: Thu, 13 Aug 2015 20:34:46 +0200
Subject: [PATCH] Fixed stripe template
---
.../stripe/templates/pretixplugins/stripe/control.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pretix/plugins/stripe/templates/pretixplugins/stripe/control.html b/src/pretix/plugins/stripe/templates/pretixplugins/stripe/control.html
index ba3d416267..70aad8f85d 100644
--- a/src/pretix/plugins/stripe/templates/pretixplugins/stripe/control.html
+++ b/src/pretix/plugins/stripe/templates/pretixplugins/stripe/control.html
@@ -5,7 +5,7 @@
{% blocktrans trimmed %}
This order has been paid via Stripe.
{% endblocktrans %}
- {% elif order.status == "p" %}
+ {% elif order.status == "r" %}
{% blocktrans trimmed %}
This order has been planned to be paid via Stripe and has been marked as refunded.
{% endblocktrans %}
@@ -14,7 +14,7 @@
This order has been planned to be paid via Stripe, but the payment has not yet been completed.
{% endblocktrans %}
{% endif %}
- {% if order.status != "p" %}
+ {% if order.status == "p" %}
- {% trans "Charge ID" %}
- {{ payment_info.id }}