mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
checkout-flow steps to page-title
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
{% extends "pretixpresale/event/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load bootstrap3 %}
|
||||
{% block title %}{% trans "Checkout" %}{% endblock %}
|
||||
{% block title %}
|
||||
{% for step in checkout_flow %}
|
||||
{% if request.resolver_match.kwargs.step == step.identifier %}
|
||||
{% blocktrans trimmed with label=step.label current=forloop.counter total=checkout_flow|length %}
|
||||
Step {{ current }} of {{ total }}: {{ label }}
|
||||
{% endblocktrans %} –
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% trans "Checkout" %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<details class="panel panel-default cart" {% if "open_cart" in request.GET %}open{% endif %}>
|
||||
<summary class="panel-heading">
|
||||
|
||||
Reference in New Issue
Block a user