mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
[A11y] make waitinglist-link a button (#5142)
This commit is contained in:
committed by
GitHub
parent
105b48829e
commit
21e5620f3f
@@ -26,7 +26,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if allow_waitinglist and item.allow_waitinglist %}
|
{% if allow_waitinglist and item.allow_waitinglist %}
|
||||||
<br/>
|
<br/>
|
||||||
<a href="{% eventurl event "presale:event.waitinglist" cart_namespace=cart_namespace|default_if_none:"" %}?item={{ item.pk }}{% if var %}&var={{ var.pk }}{% endif %}{% if subevent %}&subevent={{ subevent.pk }}{% endif %}">
|
<a href="{% eventurl event "presale:event.waitinglist" cart_namespace=cart_namespace|default_if_none:"" %}?item={{ item.pk }}{% if var %}&var={{ var.pk }}{% endif %}{% if subevent %}&subevent={{ subevent.pk }}{% endif %}" class="btn btn-default btn-block">
|
||||||
<span class="fa fa-plus-circle" aria-hidden="true"></span>
|
<span class="fa fa-plus-circle" aria-hidden="true"></span>
|
||||||
{% trans "Waiting list" %}
|
{% trans "Waiting list" %}
|
||||||
</a>
|
</a>
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
{% trans "All remaining products are reserved but might become available again." %}
|
{% trans "All remaining products are reserved but might become available again." %}
|
||||||
{% if allow_waitinglist and item.allow_waitinglist %}
|
{% if allow_waitinglist and item.allow_waitinglist %}
|
||||||
<br/>
|
<br/>
|
||||||
<a href="{% eventurl event "presale:event.waitinglist" cart_namespace=cart_namespace|default_if_none:"" %}?item={{ item.pk }}{% if var %}&var={{ var.pk }}{% endif %}{% if subevent %}&subevent={{ subevent.pk }}{% endif %}">
|
<a href="{% eventurl event "presale:event.waitinglist" cart_namespace=cart_namespace|default_if_none:"" %}?item={{ item.pk }}{% if var %}&var={{ var.pk }}{% endif %}{% if subevent %}&subevent={{ subevent.pk }}{% endif %}" class="btn btn-default btn-block">
|
||||||
<span class="fa fa-plus-circle" aria-hidden="true"></span>
|
<span class="fa fa-plus-circle" aria-hidden="true"></span>
|
||||||
{% trans "Waiting list" %}
|
{% trans "Waiting list" %}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
&.gone, .gone {
|
&.gone, .gone {
|
||||||
color: $alert-danger-text;
|
color: $brand-danger;
|
||||||
}
|
}
|
||||||
&.unavailable, .unavailable {
|
&.unavailable, .unavailable {
|
||||||
color: $alert-warning-text;
|
color: $alert-warning-text;
|
||||||
|
|||||||
Reference in New Issue
Block a user