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 %} {% else %}
<div class="find-account-form"> <div class="find-account-form">
<p> <p>
{% trans %} {% if corporate_enabled %}
Enter your email address to receive an email with the URLs {% 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 %}
for all the Zulip Cloud organizations in which you have {% else %}
active accounts. If you have also forgotten your password, {% 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 %}
you can <a href="/help/change-your-password">reset it</a>. {% endif %}
{% endtrans %} {% trans %}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">