1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 21:44:06 +02:00

Validate emails

This commit is contained in:
Yohann D'ANELLO
2020-09-20 21:24:52 +02:00
parent 83d396a6dc
commit 30fa8b7840
10 changed files with 244 additions and 46 deletions

View File

@ -1,15 +1,36 @@
{% load i18n %}
{% trans "Hi" %} {{ user.username }},
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
{% trans "You recently registered on the Note Kfet. Please click on the link below to confirm your registration." %}
<p>
{% trans "Hi" %} {{ user.username }},
</p>
https://{{ domain }}{% url 'registration:email_validation' uidb64=uid token=token %}
<p>
{% trans "You recently registered on the TFJM² platform. Please click on the link below to confirm your registration." %}
</p>
{% trans "This link is only valid for a couple of days, after that you will need to contact us to validate your email." %}
<p>
<a href="https://{{ domain }}{% url 'member:email_validation' uidb64=uid token=token %}">
https://{{ domain }}{% url 'member:email_validation' uidb64=uid token=token %}
</a>
</p>
{% trans "After that, you'll have to wait that someone validates your account before you can log in. You will need to pay your membership in the Kfet." %}
<p>
{% trans "This link is only valid for a couple of days, after that you will need to contact us to validate your email." %}
</p>
{% trans "Thanks" %},
<p>
{% trans "Thanks" %},
</p>
{% trans "The Note Kfet team." %}
--
<p>
{% trans "The CNO." %}<br>
</p>

View File

@ -0,0 +1,13 @@
{% load i18n %}
{% trans "Hi" %} {{ user.username }},
{% trans "You recently registered on the TFJM² platform. Please click on the link below to confirm your registration." %}
https://{{ domain }}{% url 'member:email_validation' uidb64=uid token=token %}
{% trans "This link is only valid for a couple of days, after that you will need to contact us to validate your email." %}
{% trans "Thanks" %},
{% trans "The CNO." %}