~FIX: changed the translate pattern inside notifier.rb: correct mail subject will be translated
~Translate: changed the mail contents of the invitation mail: no weird html string below the invitecode url. - M
This commit is contained in:
parent
40fd476836
commit
76073d45ed
2 changed files with 2 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ class Notifier < ActionMailer::Base
|
|||
@invitation_code = invitation_code
|
||||
|
||||
mail_opts = {:to => email, :from => AppConfig[:smtp_sender_address],
|
||||
:subject => I18n.t('notifier.invited!'),
|
||||
:subject => I18n.t('notifier.invited_you', :name => @inviter.person.name),
|
||||
:host => AppConfig[:pod_uri].host}
|
||||
|
||||
I18n.with_locale(locale) do
|
||||
|
|
|
|||
|
|
@ -488,7 +488,6 @@ de:
|
|||
Klick auf diesen Link um loszulegen
|
||||
|
||||
%{invite_url}
|
||||
<%= invite_code_url(@invitation_code)%>
|
||||
|
||||
|
||||
Alles Liebe,
|
||||
|
|
|
|||
Loading…
Reference in a new issue