billing: Tweak "contact support" links on billing page.

This is nicer than putting the raw email in the message.
This commit is contained in:
Mateusz Mandera 2023-03-26 21:58:21 +02:00 committed by Tim Abbott
parent f482fc2a73
commit 42de31c2e8
2 changed files with 4 additions and 8 deletions

View File

@ -2302,9 +2302,7 @@ class StripeTest(StripeTestCase):
# Ensure that the other "contact support" footer is not displayed, since that would be
# duplicate.
self.assert_not_in_success_response(
[
'Contact <a href="mailto:support@zulip.com">support@zulip.com</a> for billing history.'
],
['<a href="mailto:support@zulip.com">Contact Zulip support</a> for billing history.'],
response,
)
@ -2324,9 +2322,7 @@ class StripeTest(StripeTestCase):
response,
)
self.assert_in_success_response(
[
'Contact <a href="mailto:support@zulip.com">support@zulip.com</a> for billing history.'
],
['<a href="mailto:support@zulip.com">Contact Zulip support</a> for billing history.'],
response,
)

View File

@ -186,7 +186,7 @@
<hr />
<div class="support-link">
<p>
Contact <a href="mailto:support@zulip.com">support@zulip.com</a>
<a href="mailto:support@zulip.com">Contact Zulip support</a>
for billing history or to make changes to your subscription or billing email.
</p>
</div>
@ -220,7 +220,7 @@
{# In the other case, we're displaying a different message about contacting support. #}
<div class="support-link">
<p>
Contact <a href="mailto:support@zulip.com">support@zulip.com</a> for billing history.
<a href="mailto:support@zulip.com">Contact Zulip support</a> for billing history.
</p>
</div>
{% endif %}