Fix incorrect button CSS usage

This commit is contained in:
Raphael Michel
2018-04-26 09:11:56 +02:00
parent d8e5c9f033
commit a330e8afb2
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@
{% 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 {% if b.identifier == "pdf" %}btn-primary{% endif %}"
class="btn btn-sm {% if b.identifier == "pdf" %}btn-primary{% else %}btn-default{% endif %}"
data-asyncdownload>
<span class="fa fa-download"></span> {{ b.text }}
</a>
@@ -148,7 +148,7 @@
{% 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 {% if b.identifier == "pdf" %}btn-primary{% endif %}"
class="btn btn-sm {% if b.identifier == "pdf" %}btn-primary{% else %}btn-default{% endif %}"
data-asyncdownload>
<span class="fa fa-download"></span> {{ b.text }}
</a>

View File

@@ -83,7 +83,7 @@
{% 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 {% if b.identifier == "pdf" %}btn-primary{% endif %}"
class="btn btn-sm {% if b.identifier == "pdf" %}btn-primary{% else %}btn-default{% endif %}"
data-asyncdownload>
<span class="fa fa-download"></span> {{ b.text }}
</a>