aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-01-31 14:35:52 -0800
committerAdam Soltys <[email protected]>2024-01-31 14:35:52 -0800
commit25d57b726f158f7eb142b109c3a51e2c84bad210 (patch)
tree5a1e18122f5322f2cd17475b2ba564a91735fe75 /templates
parent0c223a4835711a287f17835af959b47f72ea68c9 (diff)
downloadcoinos-server-25d57b726f158f7eb142b109c3a51e2c84bad210.tar.gz
coinos-server-25d57b726f158f7eb142b109c3a51e2c84bad210.zip
withdrawal emails
Diffstat (limited to 'templates')
-rw-r--r--templates/payments/received.html27
1 files changed, 22 insertions, 5 deletions
diff --git a/templates/payments/received.html b/templates/payments/received.html
index e27356c1..937e093c 100644
--- a/templates/payments/received.html
+++ b/templates/payments/received.html
@@ -8,17 +8,34 @@
<html>
<body>
- <div style="margin-bottom: 10px">Hello {{username}},</div>
+ <div style="margin-bottom: 10px">{{hello}} {{username}},</div>
<div style="margin-bottom: 10px">
- You received a payment of {{sats}}
+ {{youReceived}} {{payment.amount}}
</div>
<div style="margin-bottom: 10px">
- <a href="{{link}}">{{link}}</a>
+ <a href="{{payment.link}}">{{payment.link}}</a>
</div>
- <div>Regards,</div>
- <div>The Coinos Team</div>
+ {{#if withdrawal.amount}}
+ <div style="margin-bottom: 10px">
+ {{withdrawalTriggered}} {{withdrawal.amount}}
+ </div>
+
+ <div style="margin-bottom: 10px">
+ <a href="{{withdrawal.link}}">{{withdrawal.link}}</a>
+ </div>
+ {{else if withdrawal.failed}}
+ <div style="margin-bottom: 10px">
+ {{problemWithdrawing}}
+ </div>
+ {{/if}}
+
+ <a href="{{payment.link}}">
+ <img src="{{URL}}/images/logo.webp" style="width: 200px; margin: 50px;"/>
+ </a>
+
+ <a href="{{URL}}/unsubscribe">Unsubscribe</a>
</body>
</html>