mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Display errors caused in AJAX requests
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<h1>{% trans "Bad Request" %}</h1>
|
||||
<p>{% trans "We were unable to parse your request." %}</p>
|
||||
<p>{{ exception }}</p>
|
||||
<p>
|
||||
<p class="links">
|
||||
<a href="javascript:history.back()">{% trans "Take a step back" %}</a>
|
||||
· <a href="javascript:location.reload()">{% trans "Try again" %}</a>
|
||||
</p>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<h1>{% trans "Permission denied" %}</h1>
|
||||
<p>{% trans "You do not have access to this page." %}</p>
|
||||
<p>{{ exception }}</p>
|
||||
<p>
|
||||
<p class="links">
|
||||
<a href="javascript:history.back()">{% trans "Take a step back" %}</a>
|
||||
· <a href="javascript:location.reload()">{% trans "Try again" %}</a>
|
||||
</p>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<h1>{% trans "Not found" %}</h1>
|
||||
<p>{% trans "I'm afraid we could not find the the resource you requested." %}</p>
|
||||
<p>{{ exception }}</p>
|
||||
<p>
|
||||
<p class="links">
|
||||
<a href="javascript:history.back()">{% trans "Take a step back" %}</a>
|
||||
</p>
|
||||
{% endblock %}
|
||||
@@ -7,7 +7,7 @@
|
||||
<p>{% trans "We had trouble processing your request." %}</p>
|
||||
<p>{% trans "If this problem persists, please contact us." %}</p>
|
||||
<p>{{ exception }}</p>
|
||||
<p>
|
||||
<p class="links">
|
||||
<a href="javascript:history.back()">{% trans "Take a step back" %}</a>
|
||||
· <a href="javascript:location.reload()">{% trans "Try again" %}</a>
|
||||
</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
Please go back to the last page, refresh this page and then try again. If the problem persists, please get in touch with us.
|
||||
{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
<p class="links">
|
||||
<a href="javascript:history.back()">{% trans "Take a step back" %}</a>
|
||||
</p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user