Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zerver: Use correct flags to check if this is a self hosted server.
Aman Agrawal47414d1e4a8b
diff --git a/templates/zerver/deactivated.html b/templates/zerver/deactivated.htmlindex 02637bfe291..4195d95793d 100644--- a/templates/zerver/deactivated.html+++ b/templates/zerver/deactivated.html@@ -33,13 +33,13 @@{% trans %}This organization has been deactivated.{% endtrans %}- {% if is_self_hosting_management_page %}+ {% if corporate_enabled %}{% trans %}- If you are an owner of this organization, you can <a href="mailto:{{ support_email }}">contact this Zulip server's administrators</a> to reactivate it.+ If you are an owner of this organization, you can <a href="mailto:{{ support_email }}">contact Zulip support</a> to reactivate it.{% endtrans %}{% else %}{% trans %}- If you are an owner of this organization, you can <a href="mailto:{{ support_email }}">contact Zulip support</a> to reactivate it.+ If you are an owner of this organization, you can <a href="mailto:{{ support_email }}">contact this Zulip server's administrators</a> to reactivate it.{% endtrans %}{% endif %}{% endif %}diff --git a/templates/zerver/invalid_realm.html b/templates/zerver/invalid_realm.htmlindex 5f353c564fb..eb065631c47 100644--- a/templates/zerver/invalid_realm.html+++ b/templates/zerver/invalid_realm.html@@ -16,10 +16,10 @@<p>{% trans %}There is no Zulip organization at <b>{{ current_url }}</b>.{% endtrans %}<br />- {% if is_self_hosting_management_page %}- {% trans %}Please try a different URL, or <a href="mailto:{{ support_email }}">contact this Zulip server's administrators</a>.{% endtrans %}- {% else %}+ {% if corporate_enabled %}{% trans %}Please try a different URL, or <a href="mailto:{{ support_email }}">contact Zulip support</a>.{% endtrans %}+ {% else %}+ {% trans %}Please try a different URL, or <a href="mailto:{{ support_email }}">contact this Zulip server's administrators</a>.{% endtrans %}{% endif %}</p></div>