mirror of
https://github.com/pretix/pretix.git
synced 2025-12-14 13:32:28 +00:00
Compare commits
1 Commits
fix-datasy
...
a11y-fix-w
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8a562ed7c |
@@ -1,4 +1,5 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load icon %}
|
||||||
{% load eventurl %}
|
{% load eventurl %}
|
||||||
|
|
||||||
{% if item.current_unavailability_reason == 'require_voucher' %}
|
{% if item.current_unavailability_reason == 'require_voucher' %}
|
||||||
@@ -20,14 +21,15 @@
|
|||||||
{% elif avail <= 10 %}
|
{% elif avail <= 10 %}
|
||||||
<div class="col-md-2 col-sm-3 col-xs-6 availability-box gone">
|
<div class="col-md-2 col-sm-3 col-xs-6 availability-box gone">
|
||||||
{% if price or original_price %}
|
{% if price or original_price %}
|
||||||
<strong>{% trans "SOLD OUT" %}</strong>
|
<strong>{% icon "ban" %} {% trans "SOLD OUT" %}</strong>
|
||||||
{% else %}
|
{% else %}
|
||||||
<strong>{% trans "FULLY BOOKED" %}</strong>
|
<strong>{% icon "ban" %} {% trans "FULLY BOOKED" %}</strong>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</span>
|
||||||
{% 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-xs">
|
||||||
<span class="fa fa-plus-circle" aria-hidden="true"></span>
|
{% icon "plus-circle" %}
|
||||||
{% trans "Waiting list" %}
|
{% trans "Waiting list" %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load icon %}
|
||||||
{% load l10n %}
|
{% load l10n %}
|
||||||
{% load eventurl %}
|
{% load eventurl %}
|
||||||
{% load money %}
|
{% load money %}
|
||||||
@@ -82,9 +83,9 @@
|
|||||||
{% if not event.settings.show_variations_expanded %}
|
{% if not event.settings.show_variations_expanded %}
|
||||||
{% if item.best_variation_availability <= 10 %}
|
{% if item.best_variation_availability <= 10 %}
|
||||||
{% if not item.min_price %}
|
{% if not item.min_price %}
|
||||||
<strong class="gone">{% trans "FULLY BOOKED" %}</strong>
|
<strong class="gone">{% icon "ban" %} {% trans "FULLY BOOKED" %}</strong>
|
||||||
{% else %}
|
{% else %}
|
||||||
<strong class="gone">{% trans "SOLD OUT" %}</strong>
|
<strong class="gone">{% icon "ban" %} {% trans "SOLD OUT" %}</strong>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if allow_waitinglist and item.allow_waitinglist %}
|
{% if allow_waitinglist and item.allow_waitinglist %}
|
||||||
<br/>
|
<br/>
|
||||||
|
|||||||
@@ -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