Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Improve display of sponsorship requests.
Alya Abbott2a57aa6ceab1
diff --git a/analytics/tests/test_support_views.py b/analytics/tests/test_support_views.pyindex 28882ff9507..73b159b3d03 100644--- a/analytics/tests/test_support_views.py+++ b/analytics/tests/test_support_views.py@@ -187,11 +187,11 @@ class TestRemoteServerSupportEndpoint(ZulipTestCase):["<li><b>Organization type</b>: Community</li>","<li><b>Organization website</b>: No website submitted</li>",- "<li><b>Paid users</b>: None</li>",+ "<li><b>Paid staff</b>: None</li>","<li><b>Requested plan</b>: Business</li>","<li><b>Organization description</b>: We help people.</li>","<li><b>Estimated total users</b>: 20-35</li>",- "<li><b>Description of paid users</b>: </li>",+ "<li><b>Description of paid staff</b>: </li>",],result,)@@ -201,11 +201,11 @@ class TestRemoteServerSupportEndpoint(ZulipTestCase):["<li><b>Organization type</b>: Open-source project</li>","<li><b>Organization website</b>: example.org</li>",- "<li><b>Paid users</b>: </li>",+ "<li><b>Paid staff</b>: </li>","<li><b>Requested plan</b>: Community</li>","<li><b>Organization description</b>: We help people.</li>","<li><b>Estimated total users</b>: 20-35</li>",- "<li><b>Description of paid users</b>: </li>",+ "<li><b>Description of paid staff</b>: </li>",],result,)@@ -215,7 +215,7 @@ class TestRemoteServerSupportEndpoint(ZulipTestCase):["<li><b>Organization description</b>: We help people.</li>","<li><b>Estimated total users</b>: 20-35</li>",- "<li><b>Description of paid users</b>: </li>",+ "<li><b>Description of paid staff</b>: </li>",],result,)diff --git a/templates/analytics/sponsorship_forms_support.html b/templates/analytics/sponsorship_forms_support.htmlindex 1c99267fc07..e6237761d2c 100644--- a/templates/analytics/sponsorship_forms_support.html+++ b/templates/analytics/sponsorship_forms_support.html@@ -42,8 +42,8 @@<li><b>Organization website</b>: {{ sponsorship_data.latest_sponsorship_request.org_website }}</li><li><b>Organization description</b>: {{ sponsorship_data.latest_sponsorship_request.org_description }}</li><li><b>Estimated total users</b>: {{ sponsorship_data.latest_sponsorship_request.total_users }}</li>- <li><b>Paid users</b>: {{ sponsorship_data.latest_sponsorship_request.paid_users }}</li>- <li><b>Description of paid users</b>: {{ sponsorship_data.latest_sponsorship_request.paid_users_description }}</li>+ <li><b>Paid staff</b>: {{ sponsorship_data.latest_sponsorship_request.paid_users }}</li>+ <li><b>Description of paid staff</b>: {{ sponsorship_data.latest_sponsorship_request.paid_users_description }}</li><li><b>Requested plan</b>: {{ sponsorship_data.latest_sponsorship_request.requested_plan }}</li></ul>{% else %}diff --git a/templates/zerver/emails/sponsorship_request.html b/templates/zerver/emails/sponsorship_request.htmlindex 9d2c357def7..b9ceeac2151 100644--- a/templates/zerver/emails/sponsorship_request.html+++ b/templates/zerver/emails/sponsorship_request.html@@ -3,7 +3,11 @@{% block content %}<br />-<b>Zulip Cloud?</b> {{ is_cloud_organization }}+{% if is_cloud_organization %}+<b>Zulip Cloud</b>+{% else %}+<b>Self-hosted</b>+{% endif %}<br /><br />@@ -25,12 +29,12 @@<br /><br />-<b>Expected Users</b>: {{ expected_total_users }}-<br/>-<b>Paid staff</b>: {{ paid_users_count }}+<b>Expected users</b>: {{ expected_total_users }}<br /><br />+<b>Paid staff</b>: {{ paid_users_count }}+<br /><b>Description of paid staff</b>:<br />{{ paid_users_description }}