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

View File

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