2014-09-01 11:08:32 +02:00
|
|
|
= raw t '.text', user: @invite.user.name, mail: @invite.user.email, group: @invite.group.name, link: @link, expires: I18n.l(@invite.expires_at)
|
2013-02-06 00:50:59 +01:00
|
|
|
-# append english text only if the locale is not english
|
|
|
|
- if not I18n.locale.to_s.start_with?('en')
|
|
|
|
=======
|
|
|
|
\
|
2014-09-01 11:08:32 +02:00
|
|
|
= raw t '.text', user: @invite.user.name, mail: @invite.user.email, group: @invite.group.name, link: @link, expires: I18n.l(@invite.expires_at, locale: :en), locale: :en
|