1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/views/notifications_mailer/notify_admin_user_group_changed.html.erb

12 lines
541 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p><%= t('.body.user_changed_group_html', NAME: @attached_object&.profile&.full_name || t('api.notifications.deleted_user')) %></p>
<p>
<small><%= t('.body.previous_group') %> <strong><%= "#{@notification.get_meta_data(:ex_group_name)}" %></strong></small>
<br/><%= t('.body.new_group') %> <strong><%= "#{@attached_object.group.name}" %></strong>
</p>
<% if @notification.get_meta_data(:user_invalidated) %>
<p><%= t(".body.user_invalidated") %></p>
<% end %>