forked from CGM_Public/pretix_original
New check-in features (#3022)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
– {{ line.variation }}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if line.seat or line.voucher or line.subevent or line.used_membership%}
|
||||
{% if line.seat or line.voucher or line.subevent or line.used_membership or line.blocked or line.valid_from or line.valid_until %}
|
||||
<dl class="dl-inline">
|
||||
{% elif event.settings.show_checkin_number_user and line.checkin_count %}
|
||||
<dl class="dl-inline">
|
||||
@@ -96,6 +96,36 @@
|
||||
</dd>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if line.valid_from or line.valid_until %}
|
||||
<div class="cart-icon-details">
|
||||
<dd>
|
||||
<span class="fa fa-clock-o fa-fw" aria-hidden="true"></span>
|
||||
{% if line.valid_from and line.valid_until %}
|
||||
{% blocktrans trimmed with datetime_from=line.valid_from|date:"SHORT_DATETIME_FORMAT" datetime_until=line.valid_until|date:"SHORT_DATETIME_FORMAT" %}
|
||||
Valid from {{ datetime_from }} until {{ datetime_until }}
|
||||
{% endblocktrans %}
|
||||
{% elif line.valid_from %}
|
||||
{% blocktrans trimmed with datetime=line.valid_from|date:"SHORT_DATETIME_FORMAT" %}
|
||||
Valid from {{ datetime }}
|
||||
{% endblocktrans %}
|
||||
{% elif line.valid_until %}
|
||||
{% blocktrans trimmed with datetime=line.valid_until|date:"SHORT_DATETIME_FORMAT" %}
|
||||
Valid until {{ datetime }}
|
||||
{% endblocktrans %}
|
||||
{% endif %}
|
||||
</dd>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if line.blocked %}
|
||||
<div class="cart-icon-details">
|
||||
<dd class="text-danger">
|
||||
<span class="fa fa-ban fa-fw text-danger" aria-hidden="true"></span>
|
||||
<strong>
|
||||
{% trans "This ticket is blocked." %}
|
||||
</strong>
|
||||
</dd>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if event.settings.show_checkin_number_user and line.checkin_count %}
|
||||
<div class="cart-icon-details">
|
||||
<dt class="sr-only">{% trans "Usage:" context "ticket_checkins" %}</dt>
|
||||
@@ -111,7 +141,7 @@
|
||||
</dd>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if line.seat or line.voucher or line.subevent or line.used_membership%}
|
||||
{% if line.seat or line.voucher or line.subevent or line.used_membership or line.blocked or line.valid_from or line.valid_until %}
|
||||
</dl>
|
||||
{% elif event.settings.show_checkin_number_user and line.checkin_count %}
|
||||
</dl>
|
||||
|
||||
@@ -7,11 +7,13 @@
|
||||
{% trans "Confirmation pending" context "order state" %}
|
||||
{% elif event.settings.payment_pending_hidden %}
|
||||
{# intentionally left blank #}
|
||||
{% elif order.valid_if_pending %}
|
||||
{% trans "Confirmed" context "order state" %}
|
||||
{% else %}
|
||||
{% trans "Payment pending" %}
|
||||
{% endif %}
|
||||
{% if not event.settings.payment_pending_hidden %}
|
||||
<i class="status-dot fa fa-circle text-warning" aria-hidden="true"></i>
|
||||
<i class="status-dot fa fa-circle {% if order.valid_if_pending %}text-info{% else %}text-warning{% endif %}" aria-hidden="true"></i>
|
||||
{% endif %}
|
||||
{% elif order.status == "p" %}
|
||||
{% if order.count_positions == 0 %}
|
||||
|
||||
Reference in New Issue
Block a user