forked from CGM_Public/pretix_original
Add option to hide "payment pending" bubble on ticket pages
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
<span class="label label-warning {{ class }}">{% trans "Approval pending" %}</span>
|
||||
{% elif order.total == 0 %}
|
||||
<span class="label label-warning {{ class }}">{% trans "Confirmation pending" context "order state" %}</span>
|
||||
{% elif event.settings.payment_pending_hidden %}
|
||||
{# intentionally left blank #}
|
||||
{% else %}
|
||||
<span class="label label-warning {{ class }}">{% trans "Payment pending" %}</span>
|
||||
{% endif %}
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
{% trans "View in backend" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% include "pretixpresale/event/fragment_order_status.html" with order=order class="pull-right flip" %}
|
||||
{% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event class="pull-right flip" %}
|
||||
<div class="clearfix"></div>
|
||||
</h2>
|
||||
{% if order.status == "n" and not order.require_approval %}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
{% trans "View in backend" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% include "pretixpresale/event/fragment_order_status.html" with order=order class="pull-right flip" %}
|
||||
{% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event class="pull-right flip" %}
|
||||
<div class="clearfix"></div>
|
||||
</h2>
|
||||
{% eventsignal event "pretix.presale.signals.position_info_top" order=order position=position request=request %}
|
||||
|
||||
Reference in New Issue
Block a user