mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Add retry button to cookie failure page
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{% extends "error.html" %}
|
{% extends "error.html" %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load eventurl %}
|
{% load eventurl %}
|
||||||
|
{% load urlreplace %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if cart_namespace %}
|
{% if cart_namespace %}
|
||||||
@@ -28,11 +29,16 @@
|
|||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1>{% trans "Cookies not supported" %}</h1>
|
<h1>{% trans "Cookies not supported" %}</h1>
|
||||||
<div class="alert alert-error">
|
<p>
|
||||||
{% blocktrans trimmed %}
|
{% blocktrans trimmed %}
|
||||||
Your browser does not accept cookies from us. However, we need to set a cookie to remember who
|
Your browser does not accept cookies from us. However, we need to set a cookie to remember who
|
||||||
you are and what is in your cart. Please change your browser settings accordingly.
|
you are and what is in your cart. Please change your browser settings accordingly.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
</p>
|
||||||
|
<div class="text-center">
|
||||||
|
<a href="?{% url_replace request 'require_cookie' '' %}" class="btn btn-primary btn-lg">
|
||||||
|
{% trans "Try again" %}
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user