2016-03-23 18:39:41 +01:00
|
|
|
<% provider = AuthProvider.from_strategy_name(@attached_object.provider) %>
|
|
|
|
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
|
|
|
|
|
2017-10-11 11:56:43 +02:00
|
|
|
<% if provider.name == AuthProvider::SimpleAuthProvider.new.name %>
|
|
|
|
<p><%= t('.body.account_completed') %>
|
2016-03-23 18:39:41 +01:00
|
|
|
<%= "#{@attached_object.profile.full_name}" %> <<%= @attached_object.email%>>.</p>
|
2017-10-11 11:56:43 +02:00
|
|
|
<% else %>
|
|
|
|
<p><%= t('.body.imported_account_completed', PROVIDER: provider.name) %>
|
|
|
|
<%= "#{@attached_object.profile.full_name}" %> <<%= @attached_object.email%>>.</p>
|
|
|
|
<% end %>
|
2016-03-23 18:39:41 +01:00
|
|
|
|
2017-10-11 11:56:43 +02:00
|
|
|
<% if @attached_object.uid %>
|
|
|
|
<p><%= t('.body.provider_id', UID: @attached_object.uid) %></p>
|
|
|
|
<% end %>
|