mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	templates: Mention about /emails after the email is sent in dev env.
This commit is contained in:
		| @@ -77,8 +77,9 @@ exports.initialize = function () { | |||||||
|  |  | ||||||
|             if (page_params.development_environment) { |             if (page_params.development_environment) { | ||||||
|                 // line-wrapped to avoid the i18n linter, since we don't want to translate this. |                 // line-wrapped to avoid the i18n linter, since we don't want to translate this. | ||||||
|                 $('#dev_env_msg').text( |                 $('#dev_env_msg').html( | ||||||
|                     '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.') | ||||||
|                     .addClass('alert-info') |                     .addClass('alert-info') | ||||||
|                     .show(); |                     .show(); | ||||||
|             } |             } | ||||||
|   | |||||||
| @@ -14,7 +14,10 @@ | |||||||
|                 <p>{{ _("Check your email so we can get started.") }}</p> |                 <p>{{ _("Check your email so we can get started.") }}</p> | ||||||
|  |  | ||||||
|                 {% if development_environment %} |                 {% 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 %} |                 {% endif %} | ||||||
|  |  | ||||||
|                 <p>{% trans %}Still no email? We can <a href="#" id="resend_email_link">resend it</a>.{% endtrans %} |                 <p>{% trans %}Still no email? We can <a href="#" id="resend_email_link">resend it</a>.{% endtrans %} | ||||||
|   | |||||||
| @@ -25,7 +25,8 @@ | |||||||
|  |  | ||||||
|                 {% if development_environment %} |                 {% if development_environment %} | ||||||
|                 <div class="alert alert-info" style="display:inline-block;"> |                 <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> |                 </div> | ||||||
|                 {% endif %} |                 {% endif %} | ||||||
|  |  | ||||||
|   | |||||||
| @@ -10,10 +10,13 @@ | |||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
|             <div class="white-box"> |             <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> |                 <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> |         </div> | ||||||
|     </div> |     </div> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user