footer: Reduce links for self-hosted installations on signup pages.

On registration and login pages on self-hosted Zulip servers,
it is not helpful and confusing to show the full navigation footer
for the Zulip website. Instead, we should show a minimal footer.

Fixes #21776
This commit is contained in:
Aman Agrawal
2022-07-21 06:44:45 +00:00
committed by Tim Abbott
parent bfc1901289
commit 768d7630af
3 changed files with 83 additions and 0 deletions

View File

@@ -1,3 +1,31 @@
{% if corporate_enabled %}
<div class="footer self-hosted-footer">
<div class="footer-section">
<ul>
<li>
<a href="/help">{{ _("Help center") }}</a>
</li>
</ul>
</div>
<div class="footer-section">
<ul>
<li>
<a href="/policies">{{ _("Policies") }}</a>
</li>
</ul>
</div>
<div class="break"></div>
<div class="footer-section powered-by-zulip">
<ul>
<li>
{% trans %}
Powered by <a href="https://zulip.com" class="coloured-text">Zulip</a>
{% endtrans %}
</li>
</ul>
</div>
</div>
{% else %}
<div class="footer">
<div class="footer-section">
<h3>{{ _("Product") }}</h3>
@@ -151,3 +179,4 @@
</ul>
</div>
</div>
{% endif %}