2019-07-08 10:40:50 +02:00
|
|
|
|
-# ugly hack to know if the mail is creation confirmation or a password change confirmation
|
|
|
|
|
- if @user.unconfirmed_email.nil?
|
|
|
|
|
- content_for(:title, 'Activez votre compte')
|
2018-05-14 14:21:03 +02:00
|
|
|
|
|
2021-08-26 17:50:39 +02:00
|
|
|
|
%p= t(:hello, scope: [:views, :shared, :greetings])
|
2018-05-14 14:21:03 +02:00
|
|
|
|
|
2019-07-08 10:40:50 +02:00
|
|
|
|
%p
|
2024-03-26 17:23:42 +01:00
|
|
|
|
Pour activer votre compte sur #{Current.application_name}, veuillez cliquer sur le lien suivant :
|
2023-01-03 14:46:10 +01:00
|
|
|
|
- link = confirmation_url(@user, confirmation_token: @token, procedure_id: @procedure&.id, prefill_token: @prefill_token)
|
2020-02-24 11:55:29 +01:00
|
|
|
|
= link_to(link, link)
|
2019-07-08 10:40:50 +02:00
|
|
|
|
|
|
|
|
|
- else
|
2021-05-26 15:16:30 +02:00
|
|
|
|
- content_for(:title, "Changement d’adresse email")
|
2019-07-08 10:40:50 +02:00
|
|
|
|
|
2021-08-26 17:50:39 +02:00
|
|
|
|
%p= t(:hello, scope: [:views, :shared, :greetings])
|
2019-07-08 10:40:50 +02:00
|
|
|
|
|
|
|
|
|
%p
|
2021-05-26 15:16:30 +02:00
|
|
|
|
Pour confirmer votre changement d’adresse email, veuillez cliquer sur le lien suivant :
|
2019-07-08 10:40:50 +02:00
|
|
|
|
= link_to(confirmation_url(@user, confirmation_token: @token), confirmation_url(@user, confirmation_token: @token))
|
2018-05-14 14:21:03 +02:00
|
|
|
|
|
2018-12-20 09:35:55 +01:00
|
|
|
|
= render partial: "layouts/mailers/signature"
|