Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 50e7312

Browse files
feat: Add email template for success after failed payment (#941)
1 parent 9d15965 commit 50e7312

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{% extends "base.html" %} {% block main %}
2+
<h2
3+
style="
4+
font-size: 50px;
5+
font-weight: 300;
6+
line-height: 55px;
7+
margin: 0;
8+
text-align: center;
9+
"
10+
>
11+
You're all set!
12+
</h2>
13+
<p style="text-align: center; font-weight: 400; font-size: 18px; line-height: 27px; color: black">
14+
Total: USD
15+
<span style="color: rgb(33, 181, 119); font-weight: 700"
16+
>${{ amount }}</span
17+
>
18+
<b>|</b> {{ date }}
19+
</p>
20+
<div>
21+
<p
22+
id="success-banner"
23+
style="
24+
background-color: rgb(242, 252, 243);
25+
padding: 15px 20px;
26+
width: 95%;
27+
border-left: solid 3px rgb(66, 159, 73);
28+
font-size: 14px;
29+
line-height: 21px;
30+
font-weight: 400;
31+
color: rgb(14, 27, 41);
32+
"
33+
>
34+
Your ${{ amount }} payment to Functional Software, Inc, dba
35+
Sentry has been received
36+
</p>
37+
</div>
38+
<p
39+
style="
40+
text-align: center;
41+
font-weight: 400;
42+
font-size: 18px;
43+
line-height: 27px;
44+
margin: 0;
45+
color: black;
46+
"
47+
>
48+
To view your recent payment, click the link below. Thank you for choosing Codecov.
49+
</p>
50+
<p style="width: 100%; padding: 35px 0px; text-align: center">
51+
<a
52+
href="{{ cta_link }}"
53+
style="
54+
background-color: rgb(0, 113, 194);
55+
color: white;
56+
font-size: 16px;
57+
font-weight: 600;
58+
line-height: 24px;
59+
padding: 25px;
60+
border-radius: 8px;
61+
border: none;
62+
cursor: pointer;
63+
text-decoration: none;
64+
"
65+
>View invoice</a
66+
>
67+
</p>
68+
<p style="font-weight: 400; font-size: 18px; line-height: 27px; color: black; text-align: center;">
69+
If you have any questions or need help, please contact us at
70+
<a
71+
href="mailto:[email protected]"
72+
style="
73+
color: rgb(0, 113, 194);
74+
text-decoration: none;
75+
font-weight: 500;
76+
"
77+
78+
>
79+
</p>
80+
{% endblock %}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Your ${{ amount }} payment to Functional Software, Inc, dba Sentry has been received.
2+
3+
To view your recent payment, click the link below. Thank you for choosing Codecov.
4+
5+
{{ cta_link }}
6+
7+
If you have any questions or need help, please contact us at [email protected]

0 commit comments

Comments
 (0)