forked from CGM_Public/pretix_original
Add link to ticket page to order page in backend
This commit is contained in:
@@ -294,8 +294,15 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<button type="submit" data-toggle="qrcode" data-qrcode="{{ line.secret }}"
|
<button type="submit" data-toggle="qrcode" data-qrcode="{{ line.secret }}"
|
||||||
class="btn btn-xs btn-default">
|
class="btn btn-xs btn-default">
|
||||||
<span class="fa fa-qrcode"></span> {% trans "Show ticket code" %}
|
<span class="fa fa-qrcode"></span> {% trans "Ticket code" %}
|
||||||
</button>
|
</button>
|
||||||
|
{% if not line.addon_to %}
|
||||||
|
<a href="{% eventurl request.event "presale:event.order.position" order=order.code secret=line.web_secret position=line.positionid %}"
|
||||||
|
class="btn btn-xs btn-default" target="_blank">
|
||||||
|
<span class="fa fa-eye"></span>
|
||||||
|
{% trans "Ticket page" %}
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
{% eventsignal event "pretix.control.signals.order_position_buttons" order=order position=line request=request %}
|
{% eventsignal event "pretix.control.signals.order_position_buttons" order=order position=line request=request %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user