mirror of https://github.com/zulip/zulip.git
footer: Fix corporate footer being displayed on self-hosted server.
The condition was wrong in #22184.
This commit is contained in:
parent
3104a7ea94
commit
6a7d64dc44
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue