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.

support: Add the remote realm's plan type to the support view.

Lauryn Menard83d6481f6f49
diff --git a/templates/analytics/remote_realm_details.html b/templates/analytics/remote_realm_details.html
index 5eb0b9e0b65..6704bba6896 100644
--- a/templates/analytics/remote_realm_details.html
+++ b/templates/analytics/remote_realm_details.html
@@ -4,6 +4,7 @@
<b>Remote server hostname:</b> {{ remote_realm.host }}<br />
<b>Date created</b>: {{ remote_realm.realm_date_created.strftime('%d %B %Y') }}<br />
<b>Org type</b>: {{ get_org_type_display_name(remote_realm.org_type) }}<br />
+ <b>Plan type</b>: {{ get_plan_type_name(remote_realm.plan_type) }}<br />
{% if remote_realm.plan_type == SPONSORED_PLAN_TYPE %}
<h4>On 100% sponsored Zulip Community plan.</h4>
{% endif %}
diff --git a/templates/analytics/remote_server_support.html b/templates/analytics/remote_server_support.html
index 74aac5705cd..5f9df9b7d16 100644
--- a/templates/analytics/remote_server_support.html
+++ b/templates/analytics/remote_server_support.html
@@ -83,7 +83,7 @@
<div>
{% with %}
{% set support_data = remote_realms_support_data %}
- {% set get_discount = get_discount %}
+ {% set get_plan_type_name = get_plan_type_name %}
{% include "analytics/remote_realm_details.html" %}
{% endwith %}
</div>