mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Tweaks to Django 404 and 500 pages.
This fixes https://trac.humbughq.com/ticket/446 (by removing the "back" link). (imported from commit 45a3cdcc8b20b843545e368449231a57d6d3c10b)
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
<br/>
|
||||
<p class="lead">404: Page not found.<p>
|
||||
|
||||
<p>We know this is stressful, but we still love you. You might want to
|
||||
<a href="#" onclick="history.back()">go back</a> and try something else.</p>
|
||||
<p>We know this is stressful, but we still love you.</p>
|
||||
|
||||
<p>If you'd like, you can <a href="mailto:support@humbughq.com?Subject=404%20error%20on%20%7Bwhich%20URL%3F%7D&Body=Hi%20there%21%0A%0AI%20was%20trying%20to%20do%20%7Bwhat%20were%20you%20trying%20to%20do%3F%7D%20at%20around%20%7Bwhen%20was%20this%3F%7D%20when%20I%20got%20a%20404%20error%20while%20accessing%20%7Bwhich%20URL%3F%7D.%0A%0AThanks!%0A%0ASincerely%2C%20%0A%0A%7BYour%20name%7D">drop us a line</a> to let us know what happened.</p>
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -1,10 +1,5 @@
|
||||
{% extends "zephyr/portico.html" %}
|
||||
|
||||
{% block customhead %}
|
||||
{{ block.super }}
|
||||
<meta http-equiv="refresh" content="10">
|
||||
{% endblock %}
|
||||
|
||||
{% block for_you %} isn't feeling too good. {% endblock %}
|
||||
|
||||
{% block portico_content %}
|
||||
@@ -12,8 +7,8 @@
|
||||
<br/>
|
||||
<p class="lead">500: Internal server error.<p>
|
||||
|
||||
<p>Well oops. This one's our fault, probably. We'll keep trying until it goes through.</p>
|
||||
<p>Well oops. This one's probably our fault. Sorry about that!</p>
|
||||
|
||||
<p>And you can <a href="mailto:support@humbughq.com?Subject=500%20error%20on%20%7Bwhich%20URL%3F%7D&Body=Hi%20there%21%0A%0AI%20was%20trying%20to%20do%20%7Bwhat%20were%20you%20trying%20to%20do%3F%7D%20at%20around%20%7Bwhen%20was%20this%3F%7D%20when%20I%20got%20a%20500%20error%20while%20accessing%20%7Bwhich%20URL%3F%7D.%0A%0AWhat%20gives%3F%0A%0ASincerely%2C%20%0A%0A%7BYour%20name%7D">drop us a line</a> to let us know what happened.</p>
|
||||
<p>If you'd like, you can <a href="mailto:support@humbughq.com?Subject=500%20error%20on%20%7Bwhich%20URL%3F%7D&Body=Hi%20there%21%0A%0AI%20was%20trying%20to%20do%20%7Bwhat%20were%20you%20trying%20to%20do%3F%7D%20at%20around%20%7Bwhen%20was%20this%3F%7D%20when%20I%20got%20a%20500%20error%20while%20accessing%20%7Bwhich%20URL%3F%7D.%0A%0AThanks!%0A%0ASincerely%2C%20%0A%0A%7BYour%20name%7D">drop us a line</a> to let us know what happened.</p>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user