mirror of https://github.com/zulip/zulip.git
templates: Update text on /accounts/find.
- Being more specific about what the user will get. - Putting less emphasis on entering multiple emails, since most people probably just have one email they need to check. - Using more intuitive wording and hint that deactivated or deleted accounts won't be included. Fixes: #24890.
This commit is contained in:
parent
e786c3ac98
commit
2b9374875d
|
@ -9,16 +9,18 @@
|
||||||
<div class="app find-account-page flex full-page">
|
<div class="app find-account-page flex full-page">
|
||||||
<div class="inline-block new-style">
|
<div class="inline-block new-style">
|
||||||
<div class="lead">
|
<div class="lead">
|
||||||
<h1 class="get-started">{{ _("Find your Zulip accounts") }}…</h1>
|
<h1 class="get-started">{{ _("Find your Zulip accounts") }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="app-main find-account-page-container white-box">
|
<div class="app-main find-account-page-container white-box">
|
||||||
{% if emails %}
|
{% if emails %}
|
||||||
<div id="results">
|
<div id="results">
|
||||||
<p>
|
<p>
|
||||||
Emails sent! You will only receive emails at addresses associated
|
{% trans %}
|
||||||
with Zulip organizations. The addresses entered on the previous page
|
Emails sent! You will only receive emails at addresses
|
||||||
are listed below:
|
associated with Zulip organizations. The addresses entered
|
||||||
|
on the previous page are listed below:
|
||||||
|
{% endtrans %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -33,8 +35,12 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="find-account-form">
|
<div class="find-account-form">
|
||||||
<p>
|
<p>
|
||||||
We will send you an email with the sign-in information for
|
{% trans %}
|
||||||
any Zulip organization(s) associated with the addresses you enter below.
|
Enter your email address to receive an email with the URLs
|
||||||
|
for all the Zulip Cloud organizations in which you have
|
||||||
|
active accounts. If you have also forgotten your password,
|
||||||
|
you can <a href="/help/change-your-password">reset it</a>.
|
||||||
|
{% endtrans %}
|
||||||
</p>
|
</p>
|
||||||
<form class="form-inline" id="find_account" name="email_form"
|
<form class="form-inline" id="find_account" name="email_form"
|
||||||
action="{{ current_url() }}" method="post">
|
action="{{ current_url() }}" method="post">
|
||||||
|
@ -42,7 +48,7 @@
|
||||||
<div class="input-box moving-label horizontal">
|
<div class="input-box moving-label horizontal">
|
||||||
<div class="inline-block relative">
|
<div class="inline-block relative">
|
||||||
<input type="text" autofocus id="emails" name="emails" required />
|
<input type="text" autofocus id="emails" name="emails" required />
|
||||||
<label for="emails">{{ _('Email addresses') }}</label>
|
<label for="emails">{{ _('Email address') }}</label>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit">{{ _('Find accounts') }}</button>
|
<button type="submit">{{ _('Find accounts') }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -560,7 +560,9 @@ class MultiEmailField(forms.Field):
|
||||||
|
|
||||||
|
|
||||||
class FindMyTeamForm(forms.Form):
|
class FindMyTeamForm(forms.Form):
|
||||||
emails = MultiEmailField(help_text=_("Add up to 10 comma-separated email addresses."))
|
emails = MultiEmailField(
|
||||||
|
help_text=_("Tip: You can enter multiple email addresses with commas between them.")
|
||||||
|
)
|
||||||
|
|
||||||
def clean_emails(self) -> List[str]:
|
def clean_emails(self) -> List[str]:
|
||||||
emails = self.cleaned_data["emails"]
|
emails = self.cleaned_data["emails"]
|
||||||
|
|
Loading…
Reference in New Issue