Translations, design and content
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
- require 'devise/version'
|
||||
p
|
||||
= t('.greeting', recipient: @resource.email)
|
||||
p
|
||||
= t('.instruction')
|
||||
p
|
||||
= link_to t('.action'), confirmation_url(@resource, confirmation_token: (Devise::VERSION.start_with?('3.') ? @token : @resource.confirmation_token))
|
||||
@@ -0,0 +1,14 @@
|
||||
p
|
||||
| Hello
|
||||
= @email
|
||||
| !
|
||||
- if @resource.try(:unconfirmed_email?)
|
||||
p
|
||||
| We're contacting you to notify you that your email is being changed to
|
||||
= @resource.unconfirmed_email
|
||||
| .
|
||||
- else
|
||||
p
|
||||
| We're contacting you to notify you that your email has been changed to
|
||||
= @resource.email
|
||||
| .
|
||||
@@ -0,0 +1,5 @@
|
||||
- require 'devise/version'
|
||||
p
|
||||
= t('.greeting', recipient: @resource.email)
|
||||
p
|
||||
= t('.message')
|
||||
@@ -0,0 +1,11 @@
|
||||
- require 'devise/version'
|
||||
p
|
||||
= t('devise.mailer.reset_password_instructions.greeting', recipient: "#{@resource.first_name} #{@resource.last_name}")
|
||||
p
|
||||
= t('devise.mailer.reset_password_instructions.instruction')
|
||||
p
|
||||
= link_to t('devise.mailer.reset_password_instructions..action'), edit_password_url(@resource, reset_password_token: (Devise::VERSION.start_with?('3.', '4.') ? @token : @resource.reset_password_token), locale: I18n.locale)
|
||||
p
|
||||
= t('devise.mailer.reset_password_instructions.instruction_2')
|
||||
p
|
||||
= t('devise.mailer.reset_password_instructions.instruction_3')
|
||||
@@ -0,0 +1,9 @@
|
||||
- require 'devise/version'
|
||||
p
|
||||
= t('.greeting', recipient: @resource.email)
|
||||
p
|
||||
= t('.message')
|
||||
p
|
||||
= t('.instruction')
|
||||
p
|
||||
= link_to t('.action'), unlock_url(@resource, unlock_token: (Devise::VERSION.start_with?('3.') ? @token :@resource.unlock_token))
|
||||
Reference in New Issue
Block a user