forked from CGM_Public/pretix_original
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 %}
|
||||
@@ -37,6 +37,8 @@
|
||||
{% endblocktrans %}
|
||||
{% endwith %}
|
||||
</footer>
|
||||
<div id="ajaxerr">
|
||||
</div>
|
||||
<div id="loadingmodal">
|
||||
<i class="fa fa-cog big-rotating-icon"></i>
|
||||
<h1>{% trans "We are processing your request…" %}</h1>
|
||||
|
||||
Reference in New Issue
Block a user