[A11y] make waitinglist-link a button (#5142)

This commit is contained in:
Richard Schreiber
2025-05-22 15:33:26 +02:00
committed by GitHub
parent 105b48829e
commit 21e5620f3f
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@
{% endif %}
{% if allow_waitinglist and item.allow_waitinglist %}
<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>
{% trans "Waiting list" %}
</a>
@@ -39,7 +39,7 @@
{% trans "All remaining products are reserved but might become available again." %}
{% if allow_waitinglist and item.allow_waitinglist %}
<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>
{% trans "Waiting list" %}
</a>

View File

@@ -23,7 +23,7 @@
text-align: center;
&.gone, .gone {
color: $alert-danger-text;
color: $brand-danger;
}
&.unavailable, .unavailable {
color: $alert-warning-text;