|
@@ -2,13 +2,13 @@ from config.settings import APP_NAME, CURRENT_URL
|
|
|
|
|
|
|
|
|
|
|
|
|
REGISTER_MAIL = {
|
|
REGISTER_MAIL = {
|
|
|
- "subject": f"Bienvenido a {APP_NAME} - Confirma tu registro",
|
|
|
|
|
|
|
+ "subject": "Bienvenido a " + APP_NAME + " - Confirma tu registro",
|
|
|
"body": """
|
|
"body": """
|
|
|
<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>¡Bienvenido a """+APP_NAME+"""!</title>
|
|
|
|
|
|
|
+ <title>¡Bienvenido a {app_name}!</title>
|
|
|
<style>
|
|
<style>
|
|
|
body {{
|
|
body {{
|
|
|
margin: 0;
|
|
margin: 0;
|
|
@@ -224,20 +224,20 @@ REGISTER_MAIL = {
|
|
|
<!-- Header -->
|
|
<!-- Header -->
|
|
|
<div class="header">
|
|
<div class="header">
|
|
|
<h1>¡Hola {name}!</h1>
|
|
<h1>¡Hola {name}!</h1>
|
|
|
- <p>Bienvenido a """+APP_NAME+"""</p>
|
|
|
|
|
|
|
+ <p>Bienvenido a {app_name}</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Content -->
|
|
<!-- Content -->
|
|
|
<div class="content">
|
|
<div class="content">
|
|
|
<!-- Welcome Message -->
|
|
<!-- Welcome Message -->
|
|
|
<div class="welcome-message">
|
|
<div class="welcome-message">
|
|
|
- <h2>Te damos la bienvenida a """+APP_NAME+"""</h2>
|
|
|
|
|
|
|
+ <h2>Te damos la bienvenida a {app_name}</h2>
|
|
|
<p>Tu registro ha sido exitoso. <br>Estamos emocionados de tenerte con nosotros. Para completar tu registro, necesitas crear tu PIN de seguridad.</p>
|
|
<p>Tu registro ha sido exitoso. <br>Estamos emocionados de tenerte con nosotros. Para completar tu registro, necesitas crear tu PIN de seguridad.</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Benefits Section -->
|
|
<!-- Benefits Section -->
|
|
|
<div class="benefits-section">
|
|
<div class="benefits-section">
|
|
|
- <h3 class="benefits-title">¿Qué puedes hacer con """+APP_NAME+"""?</h3>
|
|
|
|
|
|
|
+ <h3 class="benefits-title">¿Qué puedes hacer con {app_name}?</h3>
|
|
|
<ul class="benefits-list">
|
|
<ul class="benefits-list">
|
|
|
<li>Realizar pedidos de forma rápida y sencilla</li>
|
|
<li>Realizar pedidos de forma rápida y sencilla</li>
|
|
|
<li>Acceder a promociones exclusivas</li>
|
|
<li>Acceder a promociones exclusivas</li>
|
|
@@ -257,7 +257,7 @@ REGISTER_MAIL = {
|
|
|
|
|
|
|
|
<!-- Security Note -->
|
|
<!-- Security Note -->
|
|
|
<div class="security-note">
|
|
<div class="security-note">
|
|
|
- <p>🔒 Tu PIN será tu clave personal para acceder de forma segura a """+APP_NAME+"""}</p>
|
|
|
|
|
|
|
+ <p>🔒 Tu PIN será tu clave personal para acceder de forma segura a {app_name}</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Website Section -->
|
|
<!-- Website Section -->
|
|
@@ -439,7 +439,7 @@ PIN_RECOVERY_MAIL = {
|
|
|
<tr>
|
|
<tr>
|
|
|
<td style="text-align: center; margin-bottom: 32px;">
|
|
<td style="text-align: center; margin-bottom: 32px;">
|
|
|
<h2 style="color: #101419; font-size: 24px; margin: 0 0 12px 0; font-weight: bold;">¿Olvidaste tu PIN?</h2>
|
|
<h2 style="color: #101419; font-size: 24px; margin: 0 0 12px 0; font-weight: bold;">¿Olvidaste tu PIN?</h2>
|
|
|
- <p style="color: #6b7280; font-size: 16px; line-height: 1.6; margin: 0;">No te preocupes, puedes crear un nuevo PIN de acceso a """+APP_NAME+""".</p>
|
|
|
|
|
|
|
+ <p style="color: #6b7280; font-size: 16px; line-height: 1.6; margin: 0;">No te preocupes, puedes crear un nuevo PIN de acceso a {app_name}.</p>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
@@ -497,7 +497,7 @@ PIN_RECOVERY_MAIL = {
|
|
|
<p style="color: #374151; font-size: 14px; line-height: 1.5; margin: 0;">
|
|
<p style="color: #374151; font-size: 14px; line-height: 1.5; margin: 0;">
|
|
|
1. Haz clic en "Crear Nuevo PIN"<br>
|
|
1. Haz clic en "Crear Nuevo PIN"<br>
|
|
|
2. Elige un PIN fácil de recordar pero seguro<br>
|
|
2. Elige un PIN fácil de recordar pero seguro<br>
|
|
|
- 3. Ingresa a """+APP_NAME+""" con tu nuevo PIN<br>
|
|
|
|
|
|
|
+ 3. Ingresa a {app_name} con tu nuevo PIN<br>
|
|
|
4. ¡Disfruta de todos nuestros beneficios!
|
|
4. ¡Disfruta de todos nuestros beneficios!
|
|
|
</p>
|
|
</p>
|
|
|
</td>
|
|
</td>
|