mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
marked checkout-steps as completed/current
See https://www.w3.org/WAI/tutorials/forms/multi-page/
This commit is contained in:
@@ -8,6 +8,13 @@
|
||||
<span class="fa {% if step.c_is_before %}fa-check{% elif step.icon %}fa-{{ step.icon }}{% else %}fa-pencil{% endif %}" aria-hidden="true"></span>
|
||||
</div>
|
||||
<div class="checkout-step-label">
|
||||
<span class="sr-only">
|
||||
{% if step.c_is_before %}
|
||||
{% trans "Completed:" %}
|
||||
{% elif request.resolver_match.kwargs.step == step.identifier %}
|
||||
{% trans "Current:" %}
|
||||
{% endif %}
|
||||
</span>
|
||||
{{ step.label }}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user