2023-12-05 16:10:15 +01:00
|
|
|
<div class="remote-realm-information">
|
|
|
|
<span class="label">remote realm</span>
|
|
|
|
<h3>{{ remote_realm.name }}</h3>
|
2023-12-15 17:12:41 +01:00
|
|
|
{% if remote_realm.plan_type == SPONSORED_PLAN_TYPE %}
|
|
|
|
<h4>On 100% sponsored Zulip Community plan 🎉</h4>
|
|
|
|
{% endif %}
|
|
|
|
{% if support_data[remote_realm.id].sponsorship_data.default_discount %}
|
2023-12-28 19:31:24 +01:00
|
|
|
<h4>Has a discount 💸</h4>
|
2023-12-15 17:12:41 +01:00
|
|
|
{% endif %}
|
2023-12-19 16:19:40 +01:00
|
|
|
<b>Remote realm host:</b> {{ remote_realm.host }}<br />
|
2023-12-28 19:28:36 +01:00
|
|
|
<b>Date created</b>: {{ support_data[remote_realm.id].date_created.strftime('%d %B %Y') }}<br />
|
2023-12-05 16:10:15 +01:00
|
|
|
<b>Org type</b>: {{ get_org_type_display_name(remote_realm.org_type) }}<br />
|
2023-12-14 19:57:49 +01:00
|
|
|
<b>Plan type</b>: {{ get_plan_type_name(remote_realm.plan_type) }}<br />
|
2023-12-15 18:04:08 +01:00
|
|
|
<b>Non-guest user count</b>: {{ support_data[remote_realm.id].user_data.non_guest_user_count }}<br />
|
|
|
|
<b>Guest user count</b>: {{ support_data[remote_realm.id].user_data.guest_user_count }}<br />
|
2023-12-05 16:10:15 +01:00
|
|
|
</div>
|
2023-12-11 17:29:32 +01:00
|
|
|
|
|
|
|
{% if remote_realm.plan_type != SPONSORED_PLAN_TYPE %}
|
|
|
|
{% with %}
|
2023-12-13 18:23:05 +01:00
|
|
|
{% set sponsorship_data = support_data[remote_realm.id].sponsorship_data %}
|
2023-12-11 17:29:32 +01:00
|
|
|
{% set remote_id = remote_realm.id %}
|
|
|
|
{% set remote_type = "remote_realm_id" %}
|
2023-12-13 18:23:05 +01:00
|
|
|
{% set has_fixed_price = support_data[remote_realm.id].plan_data.has_fixed_price %}
|
2023-12-11 17:29:32 +01:00
|
|
|
{% include 'analytics/sponsorship_forms_support.html' %}
|
|
|
|
{% endwith %}
|
|
|
|
{% endif %}
|
2023-12-11 17:40:42 +01:00
|
|
|
|
2023-12-13 18:23:05 +01:00
|
|
|
{% if support_data[remote_realm.id].plan_data.current_plan %}
|
2023-12-11 17:40:42 +01:00
|
|
|
<div class="remote-realm-information">
|
|
|
|
{% with %}
|
2023-12-13 18:23:05 +01:00
|
|
|
{% set plan_data = support_data[remote_realm.id].plan_data %}
|
2023-12-15 17:16:39 +01:00
|
|
|
{% set format_discount = format_discount %}
|
2023-12-18 18:52:19 +01:00
|
|
|
{% set dollar_amount = dollar_amount %}
|
2023-12-11 17:40:42 +01:00
|
|
|
{% include 'analytics/current_plan_details.html' %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
2023-12-11 17:52:10 +01:00
|
|
|
|
|
|
|
{% with %}
|
2023-12-13 18:23:05 +01:00
|
|
|
{% set current_plan = support_data[remote_realm.id].plan_data.current_plan %}
|
2023-12-11 17:52:10 +01:00
|
|
|
{% set remote_id = remote_realm.id %}
|
|
|
|
{% set remote_type = "remote_realm_id" %}
|
|
|
|
{% include 'analytics/current_plan_forms_support.html' %}
|
|
|
|
{% endwith %}
|
2023-12-11 17:40:42 +01:00
|
|
|
{% endif %}
|
2023-12-21 20:53:54 +01:00
|
|
|
|
|
|
|
{% if support_data[remote_realm.id].plan_data.next_plan %}
|
|
|
|
<div class="remote-realm-information">
|
|
|
|
{% with %}
|
|
|
|
{% set plan_data = support_data[remote_realm.id].plan_data %}
|
|
|
|
{% set format_discount = format_discount %}
|
|
|
|
{% set dollar_amount = dollar_amount %}
|
|
|
|
{% include 'analytics/next_plan_details.html' %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|