Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Edit helper text on sponsorship application
Alya Abbott89724e5bb4fc
diff --git a/frontend_tests/node_tests/upgrade.js b/frontend_tests/node_tests/upgrade.jsindex e78747faa4c..154b1d994df 100644--- a/frontend_tests/node_tests/upgrade.js+++ b/frontend_tests/node_tests/upgrade.js@@ -164,7 +164,7 @@ run_test("initialize", ({override}) => {helpers.update_discount_details("event");assert.equal($("#sponsorship-discount-details").text(),- "Zulip Cloud Standard is free for academic conferences and most nonprofit events.",+ "Zulip Cloud Standard is free for academic conferences and most non-profit events.",);helpers.update_discount_details("education");assert.equal(@@ -174,12 +174,12 @@ run_test("initialize", ({override}) => {helpers.update_discount_details("nonprofit");assert.equal($("#sponsorship-discount-details").text(),- "Zulip Cloud Standard is discounted 85%+ for registered nonprofits.",+ "Zulip Cloud Standard is discounted 85%+ for registered non-profits.",);helpers.update_discount_details("other");assert.equal($("#sponsorship-discount-details").text(),- "Your organization may be eligible for a discount on Zulip Standard. Generally, use cases where the users are not your employees are eligible for discounts.",+ "Your organization may be eligible for a discount on Zulip Cloud Standard. Organizations whose members are not employees are generally eligible.",);});diff --git a/static/js/billing/helpers.js b/static/js/billing/helpers.jsindex 25caaea298a..4084150d68a 100644--- a/static/js/billing/helpers.js+++ b/static/js/billing/helpers.js@@ -89,15 +89,15 @@ export function update_charged_amount(prices, schedule) {export function update_discount_details(organization_type) {let discount_notice =- "Your organization may be eligible for a discount on Zulip Standard. Generally, use cases where the users are not your employees are eligible for discounts.";+ "Your organization may be eligible for a discount on Zulip Cloud Standard. Organizations whose members are not employees are generally eligible.";const discount_details = {opensource: "Zulip Cloud Standard is free for open-source projects.",research: "Zulip Cloud Standard is free for academic research.",- nonprofit: "Zulip Cloud Standard is discounted 85%+ for registered nonprofits.",- event: "Zulip Cloud Standard is free for academic conferences and most nonprofit events.",+ nonprofit: "Zulip Cloud Standard is discounted 85%+ for registered non-profits.",+ event: "Zulip Cloud Standard is free for academic conferences and most non-profit events.",education: "Zulip Cloud Standard is discounted 85% for education.",education_nonprofit:- "Zulip Cloud Standard is discounted 90% for education nonprofits with online purchase.",+ "Zulip Cloud Standard is discounted 90% for education non-profits with online purchase.",};if (discount_details[organization_type]) {discount_notice = discount_details[organization_type];