Updated email templates
This commit is contained in:
parent
8aa8577874
commit
82df3758cd
@ -1,6 +1,6 @@
|
|||||||
EMAIL_TEMPLATES = {
|
EMAIL_TEMPLATES = {
|
||||||
"verification": {
|
"verification": {
|
||||||
"subject": "Welcome to {app_name} - Please verify your email",
|
"subject": "Welcome to Backstory - Please verify your email",
|
||||||
"html": """
|
"html": """
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
@ -103,12 +103,12 @@ EMAIL_TEMPLATES = {
|
|||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h1>Welcome to {app_name}!</h1>
|
<h1>Welcome to Backstory!</h1>
|
||||||
<p>Thanks for joining us, {user_name}</p>
|
<p>Thanks for joining us, {user_name}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2>Please verify your email address</h2>
|
<h2>Please verify your email address</h2>
|
||||||
<p>To complete your registration and start using {app_name}, please verify your email address by clicking the button below:</p>
|
<p>To complete your registration and start using Backstory, please verify your email address by clicking the button below:</p>
|
||||||
|
|
||||||
<div style="text-align: center; margin: 32px 0;">
|
<div style="text-align: center; margin: 32px 0;">
|
||||||
<a href="{verification_link}" class="button">Verify Email Address</a>
|
<a href="{verification_link}" class="button">Verify Email Address</a>
|
||||||
@ -124,7 +124,7 @@ EMAIL_TEMPLATES = {
|
|||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><strong>This email was sent to:</strong> {to_email}</p>
|
<p><strong>This email was sent to:</strong> {to_email}</p>
|
||||||
<p>If you have any questions, please contact our support team.</p>
|
<p>If you have any questions, please contact our support team.</p>
|
||||||
<p>© 2025 {app_name}. All rights reserved.</p>
|
<p>© 2025 Backstory. All rights reserved.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
@ -133,14 +133,14 @@ EMAIL_TEMPLATES = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
"mfa": {
|
"mfa": {
|
||||||
"subject": "Security Code for {app_name}",
|
"subject": "Security Code for Backstory",
|
||||||
"html": """
|
"html": """
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Security Code</title>
|
<title>Backstory Security Code</title>
|
||||||
<style>
|
<style>
|
||||||
body {{
|
body {{
|
||||||
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||||
@ -234,7 +234,7 @@ EMAIL_TEMPLATES = {
|
|||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h1>🔐 Security Code</h1>
|
<h1>🔐 Backstory Security Code</h1>
|
||||||
<p>Hi {user_name}</p>
|
<p>Hi {user_name}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@ -263,13 +263,13 @@ EMAIL_TEMPLATES = {
|
|||||||
<li>Review your account activity</li>
|
<li>Review your account activity</li>
|
||||||
<li>Contact our support team</li>
|
<li>Contact our support team</li>
|
||||||
</ul>
|
</ul>
|
||||||
Never share this code with anyone, including {app_name} support.
|
Never share this code with anyone, including Backstory support.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><strong>This email was sent to:</strong> {to_email}</p>
|
<p><strong>This email was sent to:</strong> {to_email}</p>
|
||||||
<p>For security questions, please contact our support team immediately.</p>
|
<p>For security questions, please contact our support team immediately.</p>
|
||||||
<p>© 2025 {app_name}. All rights reserved.</p>
|
<p>© 2025 Backstory. All rights reserved.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
@ -278,7 +278,7 @@ EMAIL_TEMPLATES = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
"password_reset": {
|
"password_reset": {
|
||||||
"subject": "Reset your {app_name} password",
|
"subject": "Reset your Backstory password",
|
||||||
"html": """
|
"html": """
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
@ -363,7 +363,7 @@ EMAIL_TEMPLATES = {
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h1>🔑 Password Reset</h1>
|
<h1>🔑 Password Reset</h1>
|
||||||
<p>Reset your password for {app_name}</p>
|
<p>Reset your password for Backstory</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2>Reset your password</h2>
|
<h2>Reset your password</h2>
|
||||||
@ -381,7 +381,7 @@ EMAIL_TEMPLATES = {
|
|||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><strong>This email was sent to:</strong> {to_email}</p>
|
<p><strong>This email was sent to:</strong> {to_email}</p>
|
||||||
<p>If you have any questions, please contact our support team.</p>
|
<p>If you have any questions, please contact our support team.</p>
|
||||||
<p>© 2025 {app_name}. All rights reserved.</p>
|
<p>© 2025 Backstory. All rights reserved.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user