🌐 Make support email a variable

This commit is contained in:
Luke Vella 2025-06-03 18:28:51 +01:00
parent c7af881f2d
commit faf0d73972
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
2 changed files with 3 additions and 2 deletions

View file

@ -71,7 +71,7 @@
"license_key_nextStepsHeading": "Next Steps",
"license_key_activationSteps": "Follow these <a>instructions</a> to activate your license on your Rallly Self-Hosted instance.",
"license_key_questionsHeading": "Questions?",
"license_key_support": "Reply to this email or contact us at <a>support@rallly.co</a> if you need help.",
"license_key_support": "Reply to this email or contact us at <a>{supportEmail}</a> if you need help.",
"license_key_signoff": "Thank you for choosing Rallly!",
"license_key_preview": "Your license key has been generated.",
"license_key_subject": "Your Rallly Self-Hosted {tier} License"

View file

@ -130,8 +130,9 @@ export const LicenseKeyEmail = ({
ns="emails"
i18nKey="license_key_support"
defaults={
"Reply to this email or contact us at <a>support@rallly.co</a> if you need help."
"Reply to this email or contact us at <a>{supportEmail}</a> if you need help."
}
values={{ supportEmail: ctx.supportEmail }}
components={{
a: <Link className="text-link" href="mailto:support@rallly.co" />,
}}