sponsorship: Use this organization instead of your organization.

This commit is contained in:
Aman Agrawal 2023-11-04 03:52:14 +00:00 committed by Tim Abbott
parent 8da8a625a9
commit 0ffa207118
2 changed files with 8 additions and 6 deletions

View File

@ -2301,7 +2301,7 @@ class StripeTest(StripeTestCase):
response = self.client_get("/sponsorship/")
self.assert_in_success_response(
[
"Your organization has requested sponsorship for a free or discounted Zulip Cloud Standard plan."
'This organization has requested sponsorship for a free or discounted <a href="/plans/">Zulip Cloud Standard</a> plan.'
],
response,
)
@ -2324,7 +2324,9 @@ class StripeTest(StripeTestCase):
self.login_user(self.example_user("hamlet"))
response = self.client_get("/sponsorship/")
self.assert_in_success_response(
["Zulip is sponsoring free Zulip Cloud Standard hosting for your organization."],
[
'Zulip is sponsoring free <a href="/plans/">Zulip Cloud Standard</a> hosting for this organization.'
],
response,
)

View File

@ -13,7 +13,7 @@
<h1>Zulip Cloud billing for {{realm_name}}</h1>
</div>
<div class="white-box">
<p> Zulip is sponsoring free <a href="/plans/">Zulip Cloud Standard</a> hosting for your organization. 🎉 </p>
<p> Zulip is sponsoring free <a href="/plans/">Zulip Cloud Standard</a> hosting for this organization. 🎉 </p>
</div>
</div>
</div>
@ -26,7 +26,7 @@
<h1>Sponsorship request pending for {{realm_name}}</h1>
</div>
<div class="white-box">
<p> Your organization has requested sponsorship for a free or discounted <a href="/plans/">Zulip Cloud Standard</a> plan.</p>
<p> This organization has requested sponsorship for a free or discounted <a href="/plans/">Zulip Cloud Standard</a> plan.</p>
<p>
Please feel free to <a href="mailto:support@zulip.com">contact Zulip support</a> with any questions or updates to your request.
</p>
@ -68,11 +68,11 @@
</div>
<div class="input-box sponsorship-form-field no-validation">
<label for="org-website" class="inline-block label-title">Organization website</label>
<input id="org-website" name="website" type="text" placeholder="Leave blank if your organization does not have a website."/>
<input id="org-website" name="website" type="text" placeholder="Leave blank if this organization does not have a website."/>
<div id="sponsorship-org-website-error" class="alert alert-danger sponsorship-field-error"></div>
</div>
<div class="input-box sponsorship-form-field">
<label for="description" class="inline-block label-title">Describe your organization</label>
<label for="description" class="inline-block label-title">Describe this organization</label>
<textarea id="description" name="description" cols="100" rows="5"></textarea>
<div id="sponsorship-description-error" class="alert alert-danger sponsorship-field-error"></div>
</div>