mirror of
https://github.com/pretix/pretix.git
synced 2026-05-11 16:13:59 +00:00
Changes template to show "View order as user" and "View email history" buttons on orders in refunded or cancelled status in control backend.
This commit is contained in:
committed by
Raphael Michel
parent
ca93673c10
commit
7dff5001b0
@@ -18,7 +18,6 @@
|
||||
{% include "pretixcontrol/orders/fragment_order_status.html" with order=order class="pull-right" %}
|
||||
</h1>
|
||||
{% if 'can_change_orders' in request.eventpermset %}
|
||||
{% if order.status == 'n' or order.status == 'p' or order.status == 'e' %}
|
||||
<form action="{% url "control:event.order.transition" event=request.event.slug organizer=request.event.organizer.slug code=order.code %}"
|
||||
method="post">
|
||||
{% csrf_token %}
|
||||
@@ -52,7 +51,6 @@
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if order.is_expired_by_time %}
|
||||
<form action="{% url "control:event.order.transition" event=request.event.slug organizer=request.event.organizer.slug code=order.code %}"
|
||||
method="post">
|
||||
|
||||
Reference in New Issue
Block a user