footer: Fix corporate footer being displayed on self-hosted server.

The condition was wrong in #22184.
This commit is contained in:
Aman Agrawal 2022-07-26 07:07:30 +00:00 committed by Tim Abbott
parent 3104a7ea94
commit 6a7d64dc44
1 changed files with 27 additions and 27 deletions

View File

@ -1,31 +1,4 @@
{% 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>
@ -179,4 +152,31 @@
</ul>
</div>
</div>
{% else %}
<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>
{% endif %}