mirror of
https://github.com/pretix/pretix.git
synced 2026-05-11 16:13:59 +00:00
Order details: Do not show empty cancellation section
This commit is contained in:
@@ -222,7 +222,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
{% if order.cancel_allowed %}
|
{% if order.cancel_allowed and order.user_cancel_allowed %}
|
||||||
<div class="panel panel-primary panel-cancellation">
|
<div class="panel panel-primary panel-cancellation">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title">
|
<h3 class="panel-title">
|
||||||
@@ -230,7 +230,6 @@
|
|||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
{% if order.user_cancel_allowed %}
|
|
||||||
{% if order.status == "p" and order.total != 0 %}
|
{% if order.status == "p" and order.total != 0 %}
|
||||||
{% if order.user_cancel_fee %}
|
{% if order.user_cancel_fee %}
|
||||||
<p>
|
<p>
|
||||||
@@ -266,13 +265,6 @@
|
|||||||
{% trans "Cancel order" %}
|
{% trans "Cancel order" %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
|
||||||
<p>
|
|
||||||
{% blocktrans trimmed %}
|
|
||||||
You can not cancel this order yourself. Please contact the event organizer for more information.
|
|
||||||
{% endblocktrans %}
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user