mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 19:13:53 +00:00
find team flow: Update text in emails and templates.
This commit is contained in:
@@ -1,9 +1,31 @@
|
||||
<p>Hello {{ user_profile.full_name }},<p>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Zulip</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Hi {{ user_profile.full_name }},</p>
|
||||
|
||||
<p>You can log into Zulip using {{ user_profile.email }} on following organization:</p>
|
||||
<p>You can log in to your Zulip organization, {{ user_profile.realm.name }},
|
||||
at the following link:</p>
|
||||
|
||||
<p><a href="{{ user_profile.realm.uri }}">{{ user_profile.realm.name }}</a></p>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a href="{{ user_profile.realm.uri }}" style="color:#08c">{{ user_profile.realm.uri }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>Cheers,
|
||||
<br>
|
||||
The Zulip Team</p>
|
||||
<p>The email address associated with your account is <b>{{ user_profile.email }}</b>.</p>
|
||||
|
||||
{% if verbose_support_offers %}
|
||||
<p>If you have trouble signing in, please contact Zulip support by replying to
|
||||
this email.</p>
|
||||
|
||||
{% endif %}
|
||||
<p>Thanks for using Zulip!</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Your Zulip Team
|
||||
Your Zulip login page
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
Hello {{ user_profile.full_name }},
|
||||
Hi {{ user_profile.full_name }},
|
||||
|
||||
You can log into Zulip using {{ user_profile.email }} on following organization:
|
||||
You can log in to your Zulip organization, {{ user_profile.realm.name }},
|
||||
at the following link:
|
||||
{{ user_profile.realm.uri }}
|
||||
|
||||
- {{ user_profile.realm.name }} through {{ user_profile.realm.uri }}
|
||||
The email address associated with your account is {{ user_profile.email }}.
|
||||
|
||||
Cheers,
|
||||
The Zulip Team
|
||||
{% if verbose_support_offers %}
|
||||
If you have trouble signing in, please contact Zulip support by replying to
|
||||
this email.
|
||||
{% endif %}
|
||||
|
||||
Thanks for using Zulip!
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
{% if emails %}
|
||||
<div id="results">
|
||||
<p>
|
||||
We have checked the following email address(es). Any email address
|
||||
not associated with Zulip was not sent the sign-in information.
|
||||
Emails sent! You will only receive emails at addresses associated
|
||||
with Zulip organizations. The addresses entered on the previous page
|
||||
are listed below:
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
@@ -22,8 +23,8 @@
|
||||
{% else %}
|
||||
<div class="find-team-form">
|
||||
<p>
|
||||
We will send you an email with the sign-in information against
|
||||
any email address associated with Zulip.
|
||||
We will send you an email with the sign-in information for
|
||||
any Zulip organization(s) associated with the addresses you enter below.
|
||||
</p>
|
||||
<form class="form-inline" id="find_my_team" name="email_form"
|
||||
action="{{ current_url() }}" method="post">
|
||||
|
||||
@@ -2316,7 +2316,7 @@ class FindMyTeamTestCase(ZulipTestCase):
|
||||
url = '/find-my-team/?emails=iago@zulip.com,cordelia@zulip.com'
|
||||
result = self.client_get(url)
|
||||
content = result.content.decode('utf8')
|
||||
self.assertIn("We have checked the following email address(es)", content)
|
||||
self.assertIn("Emails sent! You will only receive emails", content)
|
||||
self.assertIn("iago@zulip.com", content)
|
||||
self.assertIn("cordelia@zulip.com", content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user