Project

General

Profile

Développement #20333

Avoir un template de mail de base et l'utiliser pour tous les mail

Added by Benjamin Dauvergne over 7 years ago. Updated over 3 years ago.

Status:
En cours
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
28 November 2017
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No
Tags:

Description

Comme dans publik-base-theme, aussi ça simplifiera le travail entre les deux.


Related issues

Related to Authentic 2 - Développement #16960: template du mail notification de création de compte depuis l'adminNouveau18 June 2017

Actions

History

#2

Updated by Benjamin Dauvergne over 7 years ago

  • Related to Développement #16960: template du mail notification de création de compte depuis l'admin added
#3

Updated by Benjamin Dauvergne over 7 years ago

Vu sur #19716, à ne pas oublier, Frédéric Péters a écrit :

Ça envoie le même message "Vous avez demandé ..." alors bien sûr on dira que depuis le backoffice même si c'est un agent il le fait à la demande d'un usager mais pour d'autres templates on a des messages différents (ex: "An administrator has created you an account...").

Il faut donc repasser spécifiquement sur le template des courriels de validation de changement d'adresse de courriel pour y spécifier si la demande a été faite par l'usager lui même ou par un administrateur.

#4

Updated by Benjamin Dauvergne over 3 years ago

  • Tags set to accessible
  • Assignee deleted (Benjamin Dauvergne)
  • Planning set to No

Travail commencé dans #47469, une petite partie des templates sont pris en compte :

$ git grep -l emails/ src/**\*_body.txt
src/authentic2/templates/authentic2/password_reset_ldap_body.txt
src/authentic2/templates/authentic2/password_reset_no_account_body.txt
src/authentic2/templates/authentic2/password_reset_refused_body.txt

il reste à faire ceux là :
$ git grep -v -l emails/ src/**\*_body.txt
src/authentic2/manager/templates/authentic2/manager/change-password-notification_body.txt
src/authentic2/manager/templates/authentic2/manager/new-account-notification_body.txt
src/authentic2/manager/templates/authentic2/manager/user_change_email_notification_body.txt
src/authentic2/manager/templates/authentic2/manager/user_create_registration_email_body.txt
src/authentic2/templates/authentic2/account_delete_notification_body.txt
src/authentic2/templates/authentic2/account_deletion_code_body.txt
src/authentic2/templates/authentic2/api_user_create_registration_email_body.txt
src/authentic2/templates/authentic2/change_email_notification_body.txt
src/authentic2/templates/authentic2/password_change_body.txt
src/authentic2/templates/authentic2/password_reset_ldap_body.txt
src/authentic2/templates/authentic2/password_reset_no_account_body.txt
src/authentic2/templates/authentic2/password_reset_refused_body.txt
src/authentic2/templates/authentic2/registration_success_body.txt
src/authentic2/templates/authentic2/unused_account_alert_body.txt
src/authentic2/templates/authentic2/unused_account_delete_body.txt

Also available in: Atom PDF