AgPerry's picture
Add files using upload-large-folder tool
3c4befe verified
Raw History Blame Contribute Delete
855 Bytes
{% extends "base.html" %}
{% block title %}Order {{ order.number }} – Brooklinen{% endblock %}
{% block content %}
<div class="page-width form-card">
<h1>{% if order.outcome == 'approved' %}Thank you!{% else %}Payment {{ order.outcome }}{% endif %}</h1>
{% if order.outcome == 'approved' %}
<div class="flash">Order {{ order.number }} for ${{ '%.2f'|format(total) }} is confirmed. A confirmation was written to the <a href="/dev/outbox" style="text-decoration:underline">local outbox</a> for {{ email }}.</div>
<p><a class="button button--primary" href="/account/orders">View your orders</a></p>
{% else %}
<div class="flash flash--error">The sandbox payment was {{ order.outcome }}. Your cart was kept so you can try again.</div>
<p><a class="button button--tertiary" href="/cart">Back to cart</a></p>
{% endif %}
</div>
{% endblock %}