Mention emails are printed in run-dev.py console.

Fixes: #1046
This commit is contained in:
Vishnu Ks 2016-06-18 22:27:22 +05:30 committed by Tim Abbott
parent f7ce5fc179
commit ff66ce780a
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,9 @@
<div class="app-main portico-page-container">
<h2>{{ _("Thanks for signing up!") }}</h2>
<p class="lead">{{ _("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>
{% endif %}
<p>{% trans %}Still no email? We can <a href="#" id="resend_email_link">resend it</a>{% endtrans %}.<br/>
<small>({{ _("Just in case, take a look at your Spam folder") }}.)</small></p>

View File

@ -25,6 +25,7 @@ def add_settings(request):
'password_auth_enabled': password_auth_enabled(realm),
'dev_auth_enabled': dev_auth_enabled(),
'google_auth_enabled': google_auth_enabled(),
'development_environment': settings.DEVELOPMENT,
}
def add_metrics(request):