mirror of https://github.com/zulip/zulip.git
templates: Use the same outer HTML structure.
This will be helpful when refactoring them to use a common template. No visual changes. Tested by create email confirmation link and then manipulated it to get to various states. Force rendered the realm_creation_disabled template instead of link_malformed template to check it.
This commit is contained in:
parent
0daee09b79
commit
41df20648d
|
@ -6,16 +6,18 @@
|
||||||
|
|
||||||
{% block portico_content %}
|
{% block portico_content %}
|
||||||
<div class="error_page">
|
<div class="error_page">
|
||||||
<div class="container row-fluid">
|
<div class="container">
|
||||||
<img src="{{ static('images/errors/400art.svg') }}" alt=""/>
|
<div class="row-fluid">
|
||||||
<div class="errorbox">
|
<img src="{{ static('images/errors/400art.svg') }}" alt=""/>
|
||||||
<div class="errorcontent">
|
<div class="errorbox">
|
||||||
<h1 class="lead">{{ _("Whoops. We couldn't find your confirmation link in the system.") }}</h1>
|
<div class="errorcontent">
|
||||||
<p>
|
<h1 class="lead">{{ _("Whoops. We couldn't find your confirmation link in the system.") }}</h1>
|
||||||
{% trans %}
|
<p>
|
||||||
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
|
{% trans %}
|
||||||
{% endtrans %}
|
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
|
||||||
</p>
|
{% endtrans %}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,17 +6,19 @@
|
||||||
|
|
||||||
{% block portico_content %}
|
{% block portico_content %}
|
||||||
<div class="error_page">
|
<div class="error_page">
|
||||||
<div class="container row-fluid">
|
<div class="container">
|
||||||
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
|
<div class="row-fluid">
|
||||||
<div class="errorbox">
|
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
|
||||||
<div class="errorcontent">
|
<div class="errorbox">
|
||||||
<h1 class="lead">{{ _("Whoops. The confirmation link is malformed.") }}</h1>
|
<div class="errorcontent">
|
||||||
<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>
|
<h1 class="lead">{{ _("Whoops. The confirmation link is malformed.") }}</h1>
|
||||||
<p>
|
<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>
|
||||||
{% trans %}
|
<p>
|
||||||
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
|
{% trans %}
|
||||||
{% endtrans %}
|
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
|
||||||
</p>
|
{% endtrans %}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,17 +6,19 @@
|
||||||
|
|
||||||
{% block portico_content %}
|
{% block portico_content %}
|
||||||
<div class="error_page">
|
<div class="error_page">
|
||||||
<div class="container row-fluid">
|
<div class="container">
|
||||||
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
|
<div class="row-fluid">
|
||||||
<div class="errorbox">
|
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
|
||||||
<div class="errorcontent">
|
<div class="errorbox">
|
||||||
<h1 class="lead">{{ _("Organization creation link required") }}</h1>
|
<div class="errorcontent">
|
||||||
<p>
|
<h1 class="lead">{{ _("Organization creation link required") }}</h1>
|
||||||
{% trans %}
|
<p>
|
||||||
Creating a new organization on this server requires a valid organization creation link.
|
{% trans %}
|
||||||
Please see <a href="https://zulip.readthedocs.io/en/stable/production/multiple-organizations.html">documentation</a> on creating a new organization for more information.
|
Creating a new organization on this server requires a valid organization creation link.
|
||||||
{% endtrans %}
|
Please see <a href="https://zulip.readthedocs.io/en/stable/production/multiple-organizations.html">documentation</a> on creating a new organization for more information.
|
||||||
</p>
|
{% endtrans %}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue