mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
refactored notification_mailer for possible bug
undefined method _t for Class:0x...
This commit is contained in:
parent
c5bbcf9381
commit
22e936dda5
@ -1,4 +1,5 @@
|
||||
<% fablab_name = Setting.find_by(name: 'fablab_name').value %>
|
||||
<% fablab_gender = Setting.find_by(name: 'name_genre').value %>
|
||||
<% primary_color = Stylesheet.primary %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
@ -39,7 +40,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<%= _t(".see_you_later", {GENDER:Setting.find_by(name: 'name_genre').value})
|
||||
<%= _t(".see_you_later", { GENDER:fablab_gender })
|
||||
# messageFormat
|
||||
%> <a href="<%= root_url %>" style="color:<%=primary_color%>"> <%=fablab_name%></a>.</p>
|
||||
<p><%= t(".sincerely") %><br><%= t(".signature") %></p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user