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.

billing: Clean up sponsorship form helper text.

Alya Abbott12d9ad957c39
diff --git a/frontend_tests/node_tests/upgrade.js b/frontend_tests/node_tests/upgrade.js
index 2b2d8e2ee4d..5a12fbc901c 100644
--- a/frontend_tests/node_tests/upgrade.js
+++ b/frontend_tests/node_tests/upgrade.js
@@ -157,32 +157,32 @@ run_test("initialize", ({override}) => {
organization_type_change_handler.call({value: "open_source"});
assert.equal(
$("#sponsorship-discount-details").text(),
- "Open source projects are eligible for fully sponsored (free) Zulip Standard.",
+ "Zulip Standard is free for open-source projects.",
);
organization_type_change_handler.call({value: "research"});
assert.equal(
$("#sponsorship-discount-details").text(),
- "Academic research organizations are eligible for fully sponsored (free) Zulip Standard.",
+ "Zulip Standard is free for academic research.",
);
organization_type_change_handler.call({value: "event"});
assert.equal(
$("#sponsorship-discount-details").text(),
- "Events are eligible for fully sponsored (free) Zulip Standard.",
+ "Zulip Standard is free for academic conferences and hackathons.",
);
organization_type_change_handler.call({value: "education"});
assert.equal(
$("#sponsorship-discount-details").text(),
- "Education use is eligible for an 85%-100% discount.",
+ "Get an 85%+ discount on Zulip Standard for education.",
);
organization_type_change_handler.call({value: "non_profit"});
assert.equal(
$("#sponsorship-discount-details").text(),
- "Nonprofits are eligible for an 85%-100% discount.",
+ "Non-profits get an 85%+ discount on Zulip Standard.",
);
organization_type_change_handler.call({value: "other"});
assert.equal(
$("#sponsorship-discount-details").text(),
- "Your organization might be eligible for a discount or sponsorship.",
+ "Your organization may be eligible for a discount on Zulip Standard.",
);
});
diff --git a/static/js/billing/helpers.js b/static/js/billing/helpers.js
index 9c15cf6a217..15f3d6e5dde 100644
--- a/static/js/billing/helpers.js
+++ b/static/js/billing/helpers.js
@@ -89,13 +89,12 @@ export function update_charged_amount(prices, schedule) {
export function update_discount_details(organization_type) {
const discount_details = {
- open_source: "Open source projects are eligible for fully sponsored (free) Zulip Standard.",
- research:
- "Academic research organizations are eligible for fully sponsored (free) Zulip Standard.",
- non_profit: "Nonprofits are eligible for an 85%-100% discount.",
- event: "Events are eligible for fully sponsored (free) Zulip Standard.",
- education: "Education use is eligible for an 85%-100% discount.",
- other: "Your organization might be eligible for a discount or sponsorship.",
+ open_source: "Zulip Standard is free for open-source projects.",
+ research: "Zulip Standard is free for academic research.",
+ non_profit: "Non-profits get an 85%+ discount on Zulip Standard.",
+ event: "Zulip Standard is free for academic conferences and hackathons.",
+ education: "Get an 85%+ discount on Zulip Standard for education.",
+ other: "Your organization may be eligible for a discount on Zulip Standard.",
};
$("#sponsorship-discount-details").text(discount_details[organization_type]);
}