templates: Use a common template for error pages.

This commit is contained in:
Aman Agrawal
2024-05-31 05:21:14 +00:00
committed by Tim Abbott
parent 27d2b89412
commit dd70110166
17 changed files with 285 additions and 382 deletions

View File

@@ -1,26 +1,20 @@
{% extends "zerver/portico.html" %}
{% extends "zerver/portico_error_page.html" %}
{% block title %}
<title>{{ _("Confirmation link malformed") }} | Zulip</title>
{% endblock %}
{% block portico_content %}
<div class="error_page">
<div class="container">
<div class="row-fluid">
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">{{ _("Whoops. The confirmation link is malformed.") }}</h1>
<p>{{ _("Make sure you copied the link correctly in to your browser. If you're still encountering this page, it's probably our fault. We're sorry.") }}</p>
<p>
{% trans %}
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
{% endtrans %}
</p>
</div>
</div>
</div>
{% block error_page_content %}
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">{{ _("Whoops. The confirmation link is malformed.") }}</h1>
<p>{{ _("Make sure you copied the link correctly in to your browser. If you're still encountering this page, it's probably our fault. We're sorry.") }}</p>
<p>
{% trans %}
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
{% endtrans %}
</p>
</div>
</div>
{% endblock %}