do not escape html in text only emails
This commit is contained in:
parent
7b5b980095
commit
5f841b9add
6 changed files with 36 additions and 36 deletions
|
|
@ -1,8 +1,8 @@
|
|||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
= t('notifier.also_commented.commented', :post_author => @post_author_name)
|
||||
!= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
!= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
!= t('notifier.also_commented.commented', :post_author => @post_author_name)
|
||||
|
||||
= @comment.text
|
||||
!= @comment.text
|
||||
|
||||
= "#{t('notifier.love')} \n"
|
||||
= t('notifier.diaspora')
|
||||
!= "#{t('notifier.love')} \n"
|
||||
!= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
= t('notifier.comment_on_post.commented')
|
||||
!= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
!= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
!= t('notifier.comment_on_post.commented')
|
||||
|
||||
= @comment.text
|
||||
!= @comment.text
|
||||
|
||||
= "#{t('notifier.love')} \n"
|
||||
= t('notifier.diaspora')
|
||||
!= "#{t('notifier.love')} \n"
|
||||
!= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
= t('notifier.mentioned.mentioned')
|
||||
!= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
!= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
!= t('notifier.mentioned.mentioned')
|
||||
|
||||
= @post.formatted_message(:plain_text => true)
|
||||
!= @post.formatted_message(:plain_text => true)
|
||||
|
||||
= "#{t('notifier.love')} \n"
|
||||
= t('notifier.diaspora')
|
||||
!= "#{t('notifier.love')} \n"
|
||||
!= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
= t('notifier.new_request.just_sent_you')
|
||||
= t('notifier.new_request.try_it_out')
|
||||
!= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
!= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
!= t('notifier.new_request.just_sent_you')
|
||||
!= t('notifier.new_request.try_it_out')
|
||||
|
||||
= "#{t('notifier.new_request.sign_in')}: #{new_user_session_url}"
|
||||
!= "#{t('notifier.new_request.sign_in')}: #{new_user_session_url}"
|
||||
|
||||
= t('notifier.love')
|
||||
= t('notifier.diaspora')
|
||||
!= t('notifier.love')
|
||||
!= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
= t('notifier.request_accepted.accepted')
|
||||
!= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
!= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
!= t('notifier.request_accepted.accepted')
|
||||
|
||||
= t('.sign_in')
|
||||
= new_user_session_url
|
||||
= "#{t('notifier.love')} \n"
|
||||
= t('notifier.diaspora')
|
||||
!= t('.sign_in')
|
||||
!= new_user_session_url
|
||||
!= "#{t('notifier.love')} \n"
|
||||
!= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
= t('notifier.hello', :name => @recipient.username)
|
||||
!= t('notifier.hello', :name => @recipient.username)
|
||||
|
||||
= @string
|
||||
!= @string
|
||||
|
||||
= t('notifier.thanks')
|
||||
= t('notifier.single_admin.admin')
|
||||
!= t('notifier.thanks')
|
||||
!= t('notifier.single_admin.admin')
|
||||
|
|
|
|||
Loading…
Reference in a new issue