Files
zulip/templates/404.html
Lauryn Menard 7a0d659f14 templates: Add HTML title element to templates that extend base/portico.
Adds HTML title elements to templates that extend either `base.html`,
`portico.html` or `portico_signup.html`, and that are not website
portico landing pages that will use the `PAGE_TITLE` variable to set
the HTML title element (see following commit in series).

Also, updates some templates for missing translation tags.

As a general rule, we want the title element (and page content)
translated. Exceptions that are updated in this commit are templates
used in the development environment, analytics templates that are used
by staff and templates related to Zephyr.
2022-09-19 20:17:17 -07:00

33 lines
1.0 KiB
HTML

{% extends "zerver/portico.html" %}
{% block title %}
<title>{{ _("Error") }} | Zulip</title>
{% endblock %}
{% block portico_class_name %}error{% endblock %}
{% block portico_content %}
<div class="error_page">
<div class="container">
<div class="row-fluid">
<img src="/static/images/errors/400art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
{% if status_code == 405 %}
<h1 class="lead">{{ _("Method not allowed (405)") }}</h1>
{% else %}
<h1 class="lead">{{ _("Page not found (404)") }}</h1>
{% endif %}
<p>
{% trans %}
If this error is unexpected, you can
<a href="mailto:{{ support_email }}">contact support</a>.
{% endtrans %}
</p>
</div>
</div>
</div>
</div>
</div>
{% endblock %}