diff --git a/app/views/notifications_mailer/notify_user_role_update.html.erb b/app/views/notifications_mailer/notify_user_role_update.html.erb index 50cb2ae21..d10e1abca 100644 --- a/app/views/notifications_mailer/notify_user_role_update.html.erb +++ b/app/views/notifications_mailer/notify_user_role_update.html.erb @@ -4,4 +4,12 @@ name = Setting.find_by(name: 'fablab_name').value gender = Setting.find_by(name: 'name_genre').value %> -
<%= t('.body.role_changed', NAME: name, GENDER: gender, ROLE: t("roles.#{@attached_object.role}")) %>
+<%= _t('.body.role_changed_html', + { + NAME: name, + GENDER: gender, + ROLE: t("roles.#{@attached_object.role}") + } + ) + # messageFormat +%>