mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
15 lines
732 B
Plaintext
15 lines
732 B
Plaintext
<% provider = AuthProvider.from_strategy_name(@attached_object.provider) %>
|
|
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
|
|
|
|
<% if provider.name == AuthProvider::SimpleAuthProvider.new.name %>
|
|
<p><%= t('.body.account_completed') %>
|
|
<%= "#{@attached_object&.profile&.full_name || t('api.notifications.deleted_user')}" %> <<%= @attached_object.email%>>.</p>
|
|
<% else %>
|
|
<p><%= t('.body.imported_account_completed', PROVIDER: provider.name) %>
|
|
<%= "#{@attached_object&.profile&.full_name || t('api.notifications.deleted_user')}" %> <<%= @attached_object.email%>>.</p>
|
|
<% end %>
|
|
|
|
<% if @attached_object.uid %>
|
|
<p><%= t('.body.provider_id', UID: @attached_object.uid) %></p>
|
|
<% end %>
|