Fixed missing line breaks in haml email templates.

This commit is contained in:
benni 2012-12-30 16:24:36 +01:00
parent 349cadd5e9
commit f6ff422405
9 changed files with 34 additions and 33 deletions

View file

@ -1,17 +1,17 @@
Hallo!
\#{@invite.user.first_name} #{@invite.user.last_name} (#{@invite.user.email}) hat dich in die Gruppe "#{@invite.group.name}" eingeladen.
\
#{@invite.user.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 #{I18n.l @invite.expires_at} 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}".
\
#{@invite.user.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 #{I18n.l @invite.expires_at, locale: :en}.
\
Greetings, your FoodSoft Team!