Refactoring of message system.
This commit is contained in:
parent
a0e10141dc
commit
3ea8d5a2ef
21 changed files with 94 additions and 113 deletions
17
app/views/mailer/invite.html.erb
Normal file
17
app/views/mailer/invite.html.erb
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
Hallo!
|
||||
|
||||
<%= @invite.user.first_name %> <%= @invite.user.last_name %> (<%= @invite.user.email %>) hat dich in die Gruppe "<%= @invite.group.name %>" eingeladen.
|
||||
Um die Einladung anzunehmen und der Foodcoop beizutreten, gehe zu: <%= @link %>
|
||||
Dieser Link kann nur einmal aufgerufen werden und ist nur bis <%= @invite.expires_at.strftime('%A den %d.%m.%Y um %H:%M') %> gültig.
|
||||
|
||||
Grüße sendet die Foodsoft!
|
||||
|
||||
=======
|
||||
|
||||
Hi!
|
||||
|
||||
<%= @invite.user.first_name %> <%= @invite.user.last_name %> (<%= @invite.user.email %>) has invited you to join the group "<%= @invite.group.name %>".
|
||||
To accept the invitation and to join the foodcoop please follow this link: <%= @link %>
|
||||
This link works only once and expires on <%= @invite.expires_at.strftime('%A den %d.%m.%Y um %H:%M') %>.
|
||||
|
||||
Greetings, your FoodSoft Team!
|
||||
Loading…
Add table
Add a link
Reference in a new issue