Make PDF download more prominent

This commit is contained in:
Raphael Michel
2017-09-12 19:06:02 +02:00
parent e5728662c5
commit a9f131b645
2 changed files with 6 additions and 3 deletions

View File

@@ -60,7 +60,8 @@
{% if not line.addon_to or event.settings.ticket_download_addons %}
{% for b in download_buttons %}
<a href="{% eventurl event "presale:event.order.download" secret=order.secret order=order.code output=b.identifier position=line.id %}"
class="btn btn-default btn-sm" data-asyncdownload>
class="btn btn-default btn-sm {% if b.identifier == "pdf" %}btn-primary{% endif %}"
data-asyncdownload>
<span class="fa fa-download"></span> {{ b.text }}
</a>
{% endfor %}
@@ -146,7 +147,8 @@
{% if not line.addon_to or event.settings.ticket_download_addons %}
{% for b in download_buttons %}
<a href="{% eventurl event "presale:event.order.download" secret=order.secret order=order.code output=b.identifier position=line.id %}"
class="btn btn-default btn-sm" data-asyncdownload>
class="btn btn-default btn-sm {% if b.identifier == "pdf" %}btn-primary{% endif %}"
data-asyncdownload>
<span class="fa fa-download"></span> {{ b.text }}
</a>
{% endfor %}

View File

@@ -79,7 +79,8 @@
{% for b in download_buttons %}
{% if b.multi %}
<a href="{% eventurl event "presale:event.order.download.combined" secret=order.secret order=order.code output=b.identifier %}"
class="btn btn-default btn-sm" data-asyncdownload>
class="btn btn-default btn-sm {% if b.identifier == "pdf" %}btn-primary{% endif %}"
data-asyncdownload>
<span class="fa fa-download"></span> {{ b.text }}
</a>
{% endif %}