Projet

Général

Profil

0001-templates-remove-extra-blank-lines-on-text-templates.patch

Nicolas Roche, 10 septembre 2021 17:13

Télécharger (3,28 ko)

Voir les différences:

Subject: [PATCH] templates: remove extra blank lines on text templates
 (#56873)

 .../authentic2/manager/change-password-notification_body.txt | 3 ++-
 .../authentic2/manager/new-account-notification_body.txt     | 5 +++--
 templates/registration/activation_email.txt                  | 4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)
templates/authentic2/manager/change-password-notification_body.txt
4 4
Votre mot de passe est désormais :
5 5

  
6 6
  {{ new_password }}
7 7

  
8 8
Pour rappel, votre identifiant de connexion est :
9 9

  
10 10
  {% firstof user.username user.email %}
11 11

  
12
{% if portal_user_url %}Accéder au site : {{ portal_user_url }}{% endif %}
12
{% if portal_user_url %}Accéder au site : {{ portal_user_url }}
13 13

  
14
{% endif %}
14 15
{% endblock %}
templates/authentic2/manager/new-account-notification_body.txt
5 5

  
6 6
À votre demande, un compte vient de vous être créé :
7 7

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

  
13
{% if new_password %}Votre mot de passe est : {{ new_password }}{% endif %}
13
{% if new_password %}Votre mot de passe est : {{ new_password }}
14 14

  
15
{% if portal_user_url %}Accéder au site : {{ portal_user_url }}{% endif %}
15
{% endif %}{% if portal_user_url %}Accéder au site : {{ portal_user_url }}
16 16

  
17
{% endif %}
17 18
{% endblock %}
templates/registration/activation_email.txt
2 2
{% block content %}{% if existing_accounts %}Bonjour,
3 3

  
4 4
Vous possédez déjà un compte associé à cette adresse électronique.
5 5

  
6 6
Pour vous connecter, vous pouvez cliquer sur le lien suivant :
7 7

  
8 8
  {{registration_url}}
9 9

  
10
{% if expiration_days == 1 %}Attention, ce bouton n’est valable que pendant 24h.{% else %}Attention, ce bouton n’est valable que pendant {{expiration_days}} jours.{% endif %}
10
{% if expiration_days == 1 %}Attention, ce bouton n’est valable que pendant 24h.{% else %}Attention, ce bouton n’est valable que pendant {{expiration_days}} jours.
11 11

  
12
Après connexion vous pourrez si besoin modifier votre mot de passe sur la page
12
{% endif %}Après connexion vous pourrez si besoin modifier votre mot de passe sur la page
13 13
de votre compte.
14 14

  
15 15
En cas de mot de passe perdu, vous pouvez à tout moment utiliser le formulaire de
16 16
récupération de mot de passe sur la page de connexion.
17 17
{% else %}Bonjour,
18 18

  
19 19
Vous venez de créer votre compte, nous vous en remercions.
20 20

  
21
-