templates: Mention about /emails after the email is sent in dev env.

This commit is contained in:
Vishnu Ks
2017-09-29 18:07:22 +00:00
committed by Tim Abbott
parent a72c7ac28f
commit 8964e04238
4 changed files with 15 additions and 7 deletions

View File

@@ -77,8 +77,9 @@ exports.initialize = function () {
if (page_params.development_environment) {
// line-wrapped to avoid the i18n linter, since we don't want to translate this.
$('#dev_env_msg').text(
'In the Zulip development environment, outgoing emails are printed to the run-dev.py console.')
$('#dev_env_msg').html(
'In the Zulip development environment, outgoing emails can be accessed by opening ' +
'<a href="/emails">/emails</a>. They are also printed to the run-dev.py console.')
.addClass('alert-info')
.show();
}

View File

@@ -14,7 +14,10 @@
<p>{{ _("Check your email so we can get started.") }}</p>
{% if development_environment %}
<div class="alert alert-info" style="display:inline-block;">{{ _("In the Zulip development environment, outgoing emails are printed to the run-dev.py console") }}</div>
<div class="alert alert-info" style="display:inline-block;">
In the Zulip development environment, outgoing emails can be accessed by opening
<a href="/emails">/emails</a>. They are also printed to the run-dev.py console.
</div>
{% endif %}
<p>{% trans %}Still no email? We can <a href="#" id="resend_email_link">resend it</a>.{% endtrans %}

View File

@@ -25,7 +25,8 @@
{% if development_environment %}
<div class="alert alert-info" style="display:inline-block;">
{{ _("In the Zulip development environment, outgoing emails are printed to the run-dev.py console") }}
In the Zulip development environment, outgoing emails can be accessed by opening
<a href="/emails">/emails</a>. They are also printed to the run-dev.py console.
</div>
{% endif %}

View File

@@ -10,10 +10,13 @@
</div>
<div class="white-box">
{% if development_environment %}
<div class="alert alert-info" style="display:inline-block;">{{ _("In the Zulip development environment, outgoing emails are printed to the run-dev.py console") }}</div>
{% endif %}
<p>{{ _('Check your email to finish the process.') }} <i class="grey">{{ _("(Or don't, but then why did you fill out this form?)") }}</i></p>
{% if development_environment %}
<div class="alert alert-info" style="display:inline-block;">
In the Zulip development environment, outgoing emails can be accessed by opening
<a href="/emails">/emails</a>. They are also printed to the run-dev.py console.
</div>
{% endif %}
</div>
</div>
</div>