diff --git a/apps/frontend/src/emails/index.ts b/apps/frontend/src/emails/index.ts index d3ad463cd..adb355488 100644 --- a/apps/frontend/src/emails/index.ts +++ b/apps/frontend/src/emails/index.ts @@ -16,6 +16,9 @@ export default { 'payout-available': () => import('./templates/account/PayoutAvailable.vue'), 'personal-access-token-created': () => import('./templates/account/PATCreated.vue'), + // Subscriptions + 'subscription-tax-change': () => import('./templates/account/SubscriptionTaxChange.vue'), + // Moderation 'report-submitted': () => import('./templates/moderation/ReportSubmitted.vue'), 'report-status-updated': () => import('./templates/moderation/ReportStatusUpdated.vue'), diff --git a/apps/frontend/src/emails/shared/StyledEmail.vue b/apps/frontend/src/emails/shared/StyledEmail.vue index 17ea10634..10cbc3e0e 100644 --- a/apps/frontend/src/emails/shared/StyledEmail.vue +++ b/apps/frontend/src/emails/shared/StyledEmail.vue @@ -17,6 +17,7 @@ import { defineProps<{ title?: string manualLinks?: { link: string; label?: string }[] + supportInfo?: string[] }>() interface SocialLink { @@ -211,9 +212,19 @@ const socialLinks = Object.freeze([
+
+ + {{ line }} + +
+
If you're having trouble with the links above, copy and paste these URLs into your diff --git a/apps/frontend/src/emails/templates/account/PaymentFailed.vue b/apps/frontend/src/emails/templates/account/PaymentFailed.vue index 1560cb2e9..3664e1d8a 100644 --- a/apps/frontend/src/emails/templates/account/PaymentFailed.vue +++ b/apps/frontend/src/emails/templates/account/PaymentFailed.vue @@ -8,6 +8,7 @@ import StyledEmail from '@/emails/shared/StyledEmail.vue' Payment failed for {paymentfailed.service} diff --git a/apps/frontend/src/emails/templates/account/PayoutAvailable.vue b/apps/frontend/src/emails/templates/account/PayoutAvailable.vue index 1a2b79cc7..c386f490d 100644 --- a/apps/frontend/src/emails/templates/account/PayoutAvailable.vue +++ b/apps/frontend/src/emails/templates/account/PayoutAvailable.vue @@ -17,7 +17,7 @@ import StyledEmail from '@/emails/shared/StyledEmail.vue' Hi {user.name}, - The ${payout.amount} earned during {payout.period} has been processed and is now available to + The {payout.amount} earned during {payout.period} has been processed and is now available to withdraw from your account. diff --git a/apps/frontend/src/emails/templates/account/SubscriptionTaxChange.vue b/apps/frontend/src/emails/templates/account/SubscriptionTaxChange.vue new file mode 100644 index 000000000..11d8e9466 --- /dev/null +++ b/apps/frontend/src/emails/templates/account/SubscriptionTaxChange.vue @@ -0,0 +1,45 @@ + + +