Updated email templates
This commit is contained in:
parent
8aa8577874
commit
82df3758cd
@ -1,6 +1,6 @@
|
||||
EMAIL_TEMPLATES = {
|
||||
"verification": {
|
||||
"subject": "Welcome to {app_name} - Please verify your email",
|
||||
"subject": "Welcome to Backstory - Please verify your email",
|
||||
"html": """
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@ -103,12 +103,12 @@ EMAIL_TEMPLATES = {
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>Welcome to {app_name}!</h1>
|
||||
<h1>Welcome to Backstory!</h1>
|
||||
<p>Thanks for joining us, {user_name}</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<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;">
|
||||
<a href="{verification_link}" class="button">Verify Email Address</a>
|
||||
@ -124,7 +124,7 @@ EMAIL_TEMPLATES = {
|
||||
<div class="footer">
|
||||
<p><strong>This email was sent to:</strong> {to_email}</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>
|
||||
</body>
|
||||
@ -133,14 +133,14 @@ EMAIL_TEMPLATES = {
|
||||
},
|
||||
|
||||
"mfa": {
|
||||
"subject": "Security Code for {app_name}",
|
||||
"subject": "Security Code for Backstory",
|
||||
"html": """
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Security Code</title>
|
||||
<title>Backstory Security Code</title>
|
||||
<style>
|
||||
body {{
|
||||
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
@ -234,7 +234,7 @@ EMAIL_TEMPLATES = {
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>🔐 Security Code</h1>
|
||||
<h1>🔐 Backstory Security Code</h1>
|
||||
<p>Hi {user_name}</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
@ -263,13 +263,13 @@ EMAIL_TEMPLATES = {
|
||||
<li>Review your account activity</li>
|
||||
<li>Contact our support team</li>
|
||||
</ul>
|
||||
Never share this code with anyone, including {app_name} support.
|
||||
Never share this code with anyone, including Backstory support.
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p><strong>This email was sent to:</strong> {to_email}</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>
|
||||
</body>
|
||||
@ -278,7 +278,7 @@ EMAIL_TEMPLATES = {
|
||||
},
|
||||
|
||||
"password_reset": {
|
||||
"subject": "Reset your {app_name} password",
|
||||
"subject": "Reset your Backstory password",
|
||||
"html": """
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@ -363,7 +363,7 @@ EMAIL_TEMPLATES = {
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>🔑 Password Reset</h1>
|
||||
<p>Reset your password for {app_name}</p>
|
||||
<p>Reset your password for Backstory</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>Reset your password</h2>
|
||||
@ -381,7 +381,7 @@ EMAIL_TEMPLATES = {
|
||||
<div class="footer">
|
||||
<p><strong>This email was sent to:</strong> {to_email}</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>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user