1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

fix notify_user_role_update

This commit is contained in:
Sylvain 2020-05-05 11:59:52 +02:00
parent d906d57440
commit 7ec7fd0d0d

View File

@ -4,4 +4,12 @@
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>
<p><%= _t('.body.role_changed_html',
{
NAME: name,
GENDER: gender,
ROLE: t("roles.#{@attached_object.role}")
}
)
# messageFormat
%></p>