Projet

Général

Profil

0001-authentic2-provide-username-if-available-on-registra.patch

Nicolas Roche (absent jusqu'au 3 avril), 10 septembre 2021 15:37

Télécharger (1,96 ko)

Voir les différences:

Subject: [PATCH] authentic2: provide username if available on registration
 mail (#56755)

 .../authentic2/api_user_create_registration_email_body.html      | 1 +
 templates/authentic2/api_user_create_registration_email_body.txt | 1 +
 2 files changed, 2 insertions(+)
templates/authentic2/api_user_create_registration_email_body.html
2 2
{% block content %}
3 3
<p>Bonjour,</p>
4 4

  
5 5
<p>
6 6
À votre demande, un compte vient de vous être créé :
7 7
</p>
8 8

  
9 9
<ul>
10
  {% if user.username  %}<li>Identifiant : {{ user.username }}</li>{% endif %}
10 11
  <li>Courriel : {{ user.email }}</li>
11 12
  <li>Prénom : {{ user.first_name }}</li>
12 13
  <li>Nom : {{ user.last_name }}</li>
13 14
</ul>
14 15

  
15 16
<p>
16 17
Pour choisir un mot de passe et accéder à votre compte, veuillez cliquer
17 18
sur le bouton suivant :
templates/authentic2/api_user_create_registration_email_body.txt
1 1
{% extends "emails/body_base.txt" %}
2 2
{% block content %}{% autoescape off %}Bonjour,
3 3

  
4 4
À votre demande, un compte vient de vous être créé :
5 5

  
6
{% if user.username  %}* Identifiant : {{ user.username }}{% endif %}
6 7
* Courriel : {{ user.email }}
7 8
* Prénom : {{ user.first_name }}
8 9
* Nom : {{ user.last_name }}
9 10

  
10 11
Pour choisir un mot de passe et accéder à votre compte, veuillez cliquer
11 12
sur le lien suivant :
12 13

  
13 14
  {{ reset_url }}
14
-