portico: Customise "Find your accounts" page.

Updates "Find your accounts" page to display a relevant message for
self-hosted servers, with no changes to the Zulip Cloud version of
the page.

Fixes part of #30116.
This commit is contained in:
Maneesh Shukla 2024-10-09 20:24:07 +05:30 committed by Tim Abbott
parent d6aae75f04
commit b677a62f64
1 changed files with 6 additions and 6 deletions

View File

@ -38,12 +38,12 @@
{% else %}
<div class="find-account-form">
<p>
{% trans %}
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 %}
{% if corporate_enabled %}
{% trans %}Enter your email address to receive an email with the URLs for all the Zulip Cloud organizations in which you have active accounts.{% endtrans %}
{% else %}
{% trans %}Enter your email address to receive an email with the URLs for all the Zulip organizations on this server in which you have active accounts.{% endtrans %}
{% endif %}
{% trans %}If you have also forgotten your password, you can <a href="/help/change-your-password">reset it</a>.{% endtrans %}
</p>
<form class="form-inline" id="find_account" name="email_form"
action="{{ current_url }}" method="post">