From d317d539d3985f005d7a176d2d0fde5a5fc2994c Mon Sep 17 00:00:00 2001 From: Spencer Murray Date: Tue, 12 Nov 2024 18:05:10 -0500 Subject: [PATCH 1/2] Remove dollar signs from email templates --- templates/auto-refund.html | 4 ++-- templates/auto-refund.txt | 2 +- templates/failed-payment.html | 4 ++-- templates/failed-payment.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/auto-refund.html b/templates/auto-refund.html index 37bb4a067..e1f516d2d 100644 --- a/templates/auto-refund.html +++ b/templates/auto-refund.html @@ -6,7 +6,7 @@

Sorry to see you go, {{ name }}

- A ${{ amount }} auto refund has been processed and will be credited to your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %} shortly. + A {{ amount }} auto refund has been processed and will be credited to your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %} shortly.

@@ -18,6 +18,6 @@

Sorry to see you go, {{ name }}

support@codecov.io

{% endblock %} {% block aside %} -

Total: USD ${{ amount }}

+

Total: USD {{ amount }}

{{ date }}

{% endblock %} diff --git a/templates/auto-refund.txt b/templates/auto-refund.txt index 8ad0b20e6..a7dd486b9 100644 --- a/templates/auto-refund.txt +++ b/templates/auto-refund.txt @@ -1,5 +1,5 @@ Your subscription has been successfully canceled. Your account has been returned to our one-seat developer plan. We appreciate your business and welcome you back anytime. -A ${{ amount }} auto refund has been processed and will be credited to your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %} shortly. +A {{ amount }} auto refund has been processed and will be credited to your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %} shortly. If you have any questions or need help, please contact us at support@codecov.io diff --git a/templates/failed-payment.html b/templates/failed-payment.html index fa76b8341..7a9826559 100644 --- a/templates/failed-payment.html +++ b/templates/failed-payment.html @@ -17,7 +17,7 @@

Oops! Let's fix this, {{ name }}

/>

- Your ${{ amount }} payment to Functional Software, Inc, dba Sentry has + Your {{ amount }} payment to Functional Software, Inc, dba Sentry has failed

@@ -41,6 +41,6 @@

Why did the payment fail?

{% endblock %} {% block aside %} -

Total: USD ${{ amount }}

+

Total: USD {{ amount }}

{{ date }}

{% endblock %} diff --git a/templates/failed-payment.txt b/templates/failed-payment.txt index 7110ed0f3..ca4383543 100644 --- a/templates/failed-payment.txt +++ b/templates/failed-payment.txt @@ -1,4 +1,4 @@ -Your ${{ amount }} payment to Functional Software, Inc, dba Sentry has failed. +Your {{ amount }} payment to Functional Software, Inc, dba Sentry has failed. We were unable to process your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %}. Please take a moment to double check your payment information to ensure your account continues to run smoothly. From 26066889584aec3a0d6a88b0d7c716f66d658675 Mon Sep 17 00:00:00 2001 From: Spencer Murray Date: Tue, 12 Nov 2024 18:09:32 -0500 Subject: [PATCH 2/2] Remove USD as well --- templates/auto-refund.html | 2 +- templates/failed-payment.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/auto-refund.html b/templates/auto-refund.html index e1f516d2d..2f48e16e2 100644 --- a/templates/auto-refund.html +++ b/templates/auto-refund.html @@ -18,6 +18,6 @@

Sorry to see you go, {{ name }}

support@codecov.io

{% endblock %} {% block aside %} -

Total: USD {{ amount }}

+

Total: {{ amount }}

{{ date }}

{% endblock %} diff --git a/templates/failed-payment.html b/templates/failed-payment.html index 7a9826559..e738d3f01 100644 --- a/templates/failed-payment.html +++ b/templates/failed-payment.html @@ -41,6 +41,6 @@

Why did the payment fail?

{% endblock %} {% block aside %} -

Total: USD {{ amount }}

+

Total: {{ amount }}

{{ date }}

{% endblock %}