- Improve layout of emails sent

- Enable Scaleway TEM for the test environment.
This commit is contained in:
Josako
2025-05-12 06:57:32 +02:00
parent 12a53ebc1c
commit 17d32cd039
4 changed files with 64 additions and 36 deletions

View File

@@ -37,6 +37,11 @@ x-common-variables: &common-variables
PUSH_GATEWAY_HOST: "pushgateway" PUSH_GATEWAY_HOST: "pushgateway"
PUSH_GATEWAY_PORT: "9091" PUSH_GATEWAY_PORT: "9091"
COMPONENT_NAME: ${COMPONENT_NAME:-unknown} COMPONENT_NAME: ${COMPONENT_NAME:-unknown}
SW_EMAIL_ACCESS_KEY: "SCWFMQ871RE4XGF04SW0"
SW_EMAIL_SECRET_KEY: "ec84604c-e2d4-4b0d-a120-40420693f42a"
SW_EMAIL_SENDER: "admin_test@mail.askeveai.be"
SW_EMAIL_NAME: "Evie Admin (test)"
SW_PROJECT: "f282f55a-ea52-4538-a979-5bcb890717ab"
services: services:
nginx: nginx:

View File

@@ -1,13 +1,20 @@
<!doctype html> {% extends "email/base.html" %}
<html> {% block content %}
<head> <p>Hello,</p>
<title>Confirm Your Email</title>
</head> <p>You've been granted access to Ask Eve AI's Evie by your administrator.</p>
<body>
<p>Hi,</p> <div class="info-box">
<p>You have been registered with EveAI by your administrator. Please confirm your email address by clicking the link below:</p> <p>Click the below link to confirm your email:</p>
<p><a href="{{ confirm_url }}">Confirm Email</a></p> <p><a href="{{ confirm_url }}">Confirm Email</a></p>
<p>If you were not informed to register, please ignore this email.</p> </div>
<p>Thanks,<br>The EveAI Team</p>
</body> <div class="warning-box">
</html> <strong>Important:</strong> After confirming your email, you'll receive an email to set your password.
</div>
<div class="warning-box">
<strong>Important:</strong> Do not reply to this message. There's no one listening on the receiving side.
</div>
{% endblock %}

View File

@@ -1,13 +1,21 @@
<!doctype html> {% extends "email/base.html" %}
<html> {% block content %}
<head> <p>Hello,</p>
<title>Reset Your Password</title>
</head> <p>You indicated you require a new password. Your administrator sent you this reset password mail.</p>
<body>
<p>Hi,</p> <div class="info-box">
<p>You requested a password reset for your EveAI account. Click the link below to reset your password:</p> <p>Click the below link to reset your password:</p>
<p><a href="{{ reset_url }}">Reset Password</a></p> <p><a href="{{ reset_url }}">Reset Password</a></p>
<p>If you did not request a password reset, please ignore this email.</p> </div>
<p>Thanks,<br>The EveAI Team</p>
</body> <div class="warning-box">
</html> <strong>Important:</strong> If you didn't request a new password, please inform your administrator.
</div>
<div class="warning-box">
<strong>Important:</strong> Do not reply to this message. There's no one listening on the receiving side.
</div>
{% endblock %}

View File

@@ -1,13 +1,21 @@
<!doctype html> {% extends "email/base.html" %}
<html> {% block content %}
<head> <p>Hello,</p>
<title>Reset Your Password</title>
</head> <p>You indicated you require a new password. Your administrator sent you this reset password mail.</p>
<body>
<p>Hi,</p> <div class="info-box">
<p>You requested a password reset for your EveAI account. Click the link below to reset your password:</p> <p>Click the below link to reset your password:</p>
<p><a href="{{ reset_url }}">Reset Password</a></p> <p><a href="{{ reset_url }}">Reset Password</a></p>
<p>If you did not request a password reset, please ignore this email.</p> </div>
<p>Thanks,<br>The EveAI Team</p>
</body> <div class="warning-box">
</html> <strong>Important:</strong> If you didn't request a new password, please inform your administrator.
</div>
<div class="warning-box">
<strong>Important:</strong> Do not reply to this message. There's no one listening on the receiving side.
</div>
{% endblock %}