Added nicer message after order completion

This commit is contained in:
Raphael Michel
2015-09-17 22:48:46 +02:00
parent f2a813fad0
commit 371c67075c
2 changed files with 46 additions and 0 deletions

View File

@@ -3,6 +3,14 @@
{% load bootstrap3 %}
{% block title %}{% trans "Order details" %}{% endblock %}
{% block content %}
{% if "thanks" in request.GET %}
<div class="thank-you">
<span class="fa fa-check-circle"></span>
<h2>{% trans "Thank you!" %}</h2>
<p>{% trans "Your order has been placed successfully. See below for details." %}</p>
<p>{% trans "We also sent you an email with a link to this page if you want to come back later." %}</p>
</div>
{% endif %}
<h2>
{% blocktrans trimmed with code=order.code %}
Your order: {{ code }}