Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

portico: Don't show Find accounts or New org for self-hosters.

Karl Stolleyc9d2ac1e1be1
diff --git a/templates/zerver/portico-header.html b/templates/zerver/portico-header.html
index bf987d05b84..1a93cd3cb5f 100644
--- a/templates/zerver/portico-header.html
+++ b/templates/zerver/portico-header.html
@@ -44,8 +44,7 @@
{% endif %}
{% endif %}
- {% if find_team_link_disabled %}
- {% else %}
+ {% if not is_self_hosting_management_page and not find_team_link_disabled %}
<a href="{{ root_domain_url }}/accounts/find/">{{ _('Find accounts') }}</a>
<a href="{{ root_domain_url }}/new/">{{ _('New organization') }}</a>
{% endif %}