mirror of https://github.com/zulip/zulip.git
Create better error pages for 404 and 500.
(imported from commit c2903b630131c55b9e14369ca0b7f1a8f0fe765c)
This commit is contained in:
parent
802b51de8c
commit
29555559d2
|
@ -1,3 +1,11 @@
|
||||||
<html>
|
{% extends "zephyr/content_base.html" %}
|
||||||
<body><h1>404 Not Found</h1></body>
|
|
||||||
</html>
|
{% block for_you %} got a bit lost there. {% endblock %}
|
||||||
|
|
||||||
|
{% block more_content %}
|
||||||
|
|
||||||
|
<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>
|
||||||
|
{% endblock %}
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
<html>
|
{% extends "zephyr/content_base.html" %}
|
||||||
<body><h1>500 Internal Server Error</h1></body>
|
|
||||||
</html>
|
{% block for_you %} isn't feeing too good. {% endblock %}
|
||||||
|
|
||||||
|
{% block more_content %}
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<p class="lead">500: Internal server error.<p>
|
||||||
|
|
||||||
|
<p>Well oops. This one's our fault, probably. Try again in a little bit or <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>
|
||||||
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue