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.

sponsorship: Show correct pending sponsorship message for Zulip Basic.

Lauryn Menard282e42c04bae
diff --git a/templates/corporate/billing/billing.html b/templates/corporate/billing/billing.html
index caaa410066f..fa62ef0ccaa 100644
--- a/templates/corporate/billing/billing.html
+++ b/templates/corporate/billing/billing.html
@@ -12,7 +12,7 @@
{% if is_sponsorship_pending %}
<div class="alert alert-success billing-page-success" id="billing-sponsorship-pending-message-top">
This organization has requested sponsorship for a
- {% if sponsorship_plan_name == "Business" %}
+ {% if is_self_hosted_billing and sponsorship_plan_name != "Community" %}
discounted
{% endif %}
<a href="{{ billing_base_url }}/plans/">{{ sponsorship_plan_name }}</a> plan.<br/><a href="mailto:[email protected]">Contact Zulip support</a> with any questions or updates.
diff --git a/templates/corporate/billing/sponsorship.html b/templates/corporate/billing/sponsorship.html
index a0c83b2e8b5..d68c55ade0b 100644
--- a/templates/corporate/billing/sponsorship.html
+++ b/templates/corporate/billing/sponsorship.html
@@ -31,7 +31,7 @@
Zulip is sponsoring a free <a href="{{ billing_base_url }}/plans/">{{ sponsorship_plan_name }}</a> plan for this organization. 🎉
{% else %}
This organization has requested sponsorship for a
- {% if sponsorship_plan_name == "Business" %}
+ {% if is_remotely_hosted and sponsorship_plan_name != "Community" %}
discounted
{% endif %}
<a href="{{ billing_base_url }}/plans/">{{ sponsorship_plan_name }}</a> plan.<br/><a href="mailto:[email protected]">Contact Zulip support</a> with any questions or updates.