{% load i18n %} {% if object.status == object.Status.REFUNDED %}

{% trans "Order is already marked as Refunded." %}

{% trans "Go back" %}
{% else %}

{% trans "Are you sure you want to refund the Order" %} {{ object }}?

{% if object.payments.count %}

{% trans "All of the following payments will be refunded" %}:

{% endif %}
{% trans "No, take me back" %}
{% csrf_token %}
{% csrf_token %}
{% endif %}