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:
parent
d906d57440
commit
7ec7fd0d0d
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user