portico: Update "No organization found" page.

Expands the "No organization found" page to include a link to the
"Find your accounts" page.

Also adjusts the layout of the page for the longer text by adding
the "find-account-page-container" class for the textbox width.

Fixes #30116.
This commit is contained in:
Maneesh Shukla 2024-10-09 20:24:59 +05:30 committed by Tim Abbott
parent b677a62f64
commit e506c0c612
1 changed files with 5 additions and 4 deletions

View File

@ -12,14 +12,15 @@
<h1 class="get-started">{{ _('No organization found') }}</h1> <h1 class="get-started">{{ _('No organization found') }}</h1>
</div> </div>
<div class="app-main white-box"> <div class="app-main find-account-page-container white-box">
<p> <p>
{% trans %}There is no Zulip organization at <b>{{ current_url }}</b>.{% endtrans %} {% trans %}There is no Zulip organization at <b>{{ current_url }}</b>.{% endtrans %}
<br /> </p>
<p>
{% if corporate_enabled %} {% if corporate_enabled %}
{% trans %}Please try a different URL, or <a href="mailto:{{ support_email }}">contact Zulip support</a>.{% endtrans %} {% trans %}Please try a different URL, <a href="{{ root_domain_url }}/accounts/find/">get a list of your Zulip Cloud accounts</a>, or <a href="mailto:{{ support_email }}">contact Zulip support</a>.{% endtrans %}
{% else %} {% else %}
{% trans %}Please try a different URL, or <a href="mailto:{{ support_email }}">contact this Zulip server's administrators</a>.{% endtrans %} {% trans %}Please try a different URL, <a href="{{ root_domain_url }}/accounts/find/">get a list of your accounts</a> on this server, or <a href="mailto:{{ support_email }}">contact this Zulip server's administrators</a>.{% endtrans %}
{% endif %} {% endif %}
</p> </p>
</div> </div>