Added ticket download option to the admin page

This commit is contained in:
Raphael Michel
2015-08-15 18:37:10 +02:00
parent 8b4addde1e
commit 66bc5c4432
2 changed files with 59 additions and 4 deletions

View File

@@ -33,6 +33,15 @@
{% trans "Refund order" %}
</a>
{% endif %}
{% if can_download %}
{% for b in download_buttons %}
<a href="{% url "presale:event.order.download" organizer=request.event.organizer.slug event=request.event.slug order=order.code output=b.identifier %}"
class="btn btn-default">
<span class="fa {{ b.icon }}"></span> {{ b.text }}
</a>
{% endfor %}
{% endif %}
</div>
</div>
</form>