1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-03-01 23:29:23 +01:00
fab-manager/app/views/notifications_mailer/notify_user_role_update.html.erb

8 lines
294 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<%
name = Setting.find_by(name: 'fablab_name').value
gender = Setting.find_by(name: 'name_genre').value
%>
<p><%= t('.body.role_changed', NAME: name, GENDER: gender, ROLE: t("roles.#{@attached_object.role}")) %></p>