mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
find_account: Add button to send another email.
The result page didn't have any resend button a button was added to redirect to the form where the user can find their account Fixes part of #3128
This commit is contained in:
@@ -29,6 +29,11 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
{% trans %}
|
||||||
|
If you don't receive an email, you can
|
||||||
|
<a href="{{ current_url }}">find accounts for another email address</a>.
|
||||||
|
{% endtrans %}
|
||||||
|
|
||||||
{% include 'zerver/dev_env_email_access_details.html' %}
|
{% include 'zerver/dev_env_email_access_details.html' %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -43,7 +48,7 @@
|
|||||||
{% endtrans %}
|
{% 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">
|
||||||
{{ csrf_input }}
|
{{ csrf_input }}
|
||||||
<div class="input-box moving-label horizontal">
|
<div class="input-box moving-label horizontal">
|
||||||
<div class="inline-block relative">
|
<div class="inline-block relative">
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ IGNORED_PHRASES = [
|
|||||||
r"user",
|
r"user",
|
||||||
r"an unknown operating system",
|
r"an unknown operating system",
|
||||||
r"Go to Settings",
|
r"Go to Settings",
|
||||||
|
r"find accounts for another email address",
|
||||||
# SPECIAL CASES
|
# SPECIAL CASES
|
||||||
# Because topics usually are lower-case, this would look weird if it were capitalized
|
# Because topics usually are lower-case, this would look weird if it were capitalized
|
||||||
r"more topics",
|
r"more topics",
|
||||||
|
|||||||
@@ -1128,7 +1128,7 @@ def find_account(request: HttpRequest) -> HttpResponse:
|
|||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
"zerver/find_account.html",
|
"zerver/find_account.html",
|
||||||
context={"form": form, "current_url": lambda: url, "emails": emails},
|
context={"form": form, "current_url": url, "emails": emails},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user