mirror of
https://github.com/pretix/pretix.git
synced 2025-12-06 21:42:49 +00:00
added <main> and <aside> to checkout pages
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
{% trans "Checkout" %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<aside aria-label="{% trans "Your cart" %}">
|
||||
<details class="panel panel-default cart" {% if "open_cart" in request.GET %}open{% endif %}>
|
||||
<summary class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
@@ -52,8 +53,11 @@
|
||||
{% trans "Add tickets for a different date" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</aside>
|
||||
<main aria-label="{% trans "Checkout" %}">
|
||||
<h2>{% trans "Checkout" %}</h2>
|
||||
{% include "pretixpresale/event/fragment_checkoutflow.html" %}
|
||||
{% block inner %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
{% load eventsignal %}
|
||||
{% block title %}{% trans "Review order" %}{% endblock %}
|
||||
{% block content %}
|
||||
<main aria-label="{% trans "Review order" %}">
|
||||
<h2>{% trans "Review order" %}</h2>
|
||||
{% include "pretixpresale/event/fragment_checkoutflow.html" %}
|
||||
<p>{% trans "Please review the details below and confirm your order." %}</p>
|
||||
@@ -203,4 +204,5 @@
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
{% load phone_format %}
|
||||
{% block title %}{% trans "Order details" %}{% endblock %}
|
||||
{% block content %}
|
||||
<main>
|
||||
{% if "thanks" in request.GET or "paid" in request.GET %}
|
||||
<div class="thank-you">
|
||||
<span class="fa fa-check-circle" aria-hidden="true"></span>
|
||||
@@ -426,4 +427,5 @@
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user