zulip/templates/analytics/remote_realm_details.html

37 lines
1.4 KiB
HTML
Raw Normal View History

<div class="remote-realm-information">
<span class="label">remote realm</span>
<h3>{{ remote_realm.name }}</h3>
<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 />
{% if remote_realm.plan_type == SPONSORED_PLAN_TYPE %}
<h4>On 100% sponsored Zulip Community plan.</h4>
{% endif %}
</div>
{% if remote_realm.plan_type != SPONSORED_PLAN_TYPE %}
{% with %}
{% set sponsorship_data = support_data[remote_realm.id].sponsorship_data %}
{% set remote_id = remote_realm.id %}
{% set remote_type = "remote_realm_id" %}
{% set has_fixed_price = support_data[remote_realm.id].plan_data.has_fixed_price %}
{% include 'analytics/sponsorship_forms_support.html' %}
{% endwith %}
{% endif %}
{% if support_data[remote_realm.id].plan_data.current_plan %}
<div class="remote-realm-information">
{% with %}
{% set plan_data = support_data[remote_realm.id].plan_data %}
{% include 'analytics/current_plan_details.html' %}
{% endwith %}
</div>
{% with %}
{% set current_plan = support_data[remote_realm.id].plan_data.current_plan %}
{% set remote_id = remote_realm.id %}
{% set remote_type = "remote_realm_id" %}
{% include 'analytics/current_plan_forms_support.html' %}
{% endwith %}
{% endif %}