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 %}
|
||||
<div class="error_page">
|
||||
<div class="container row-fluid">
|
||||
<img src="{{ static('images/errors/400art.svg') }}" alt=""/>
|
||||
<div class="errorbox">
|
||||
<div class="errorcontent">
|
||||
<h1 class="lead">{{ _("Whoops. We couldn't find your confirmation link in the system.") }}</h1>
|
||||
<p>
|
||||
{% trans %}
|
||||
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<div class="container">
|
||||
<div class="row-fluid">
|
||||
<img src="{{ static('images/errors/400art.svg') }}" alt=""/>
|
||||
<div class="errorbox">
|
||||
<div class="errorcontent">
|
||||
<h1 class="lead">{{ _("Whoops. We couldn't find your confirmation link in the system.") }}</h1>
|
||||
<p>
|
||||
{% trans %}
|
||||
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,17 +6,19 @@
|
|||
|
||||
{% block portico_content %}
|
||||
<div class="error_page">
|
||||
<div class="container 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 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>
|
||||
</div>
|
||||
|
|
|
@ -6,17 +6,19 @@
|
|||
|
||||
{% block portico_content %}
|
||||
<div class="error_page">
|
||||
<div class="container row-fluid">
|
||||
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
|
||||
<div class="errorbox">
|
||||
<div class="errorcontent">
|
||||
<h1 class="lead">{{ _("Organization creation link required") }}</h1>
|
||||
<p>
|
||||
{% trans %}
|
||||
Creating a new organization on this server requires a valid organization creation link.
|
||||
Please see <a href="https://zulip.readthedocs.io/en/stable/production/multiple-organizations.html">documentation</a> on creating a new organization for more information.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<div class="container">
|
||||
<div class="row-fluid">
|
||||
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
|
||||
<div class="errorbox">
|
||||
<div class="errorcontent">
|
||||
<h1 class="lead">{{ _("Organization creation link required") }}</h1>
|
||||
<p>
|
||||
{% trans %}
|
||||
Creating a new organization on this server requires a valid organization creation link.
|
||||
Please see <a href="https://zulip.readthedocs.io/en/stable/production/multiple-organizations.html">documentation</a> on creating a new organization for more information.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue