]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/message_notification.text.erb
Set default_url_options for action_mailer
[rails.git] / app / views / notifier / message_notification.text.erb
index 8c5fce74e7c060a8647cf352ba9bdfac27e5db61..c006941d9ff63149b0379c7da05e77fe5b776cea 100644 (file)
@@ -1,10 +1,9 @@
-<%= t'notifier.message_notification.hi', :to_user => @to_user %> 
+<%= raw t'notifier.message_notification.hi', :to_user => @to_user %> 
 
-<%= t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %>
+<%= raw t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %>
 
 ==
-<%= @body %>
+<%= raw @text.to_text %>
 ==
 
-<%= t'notifier.message_notification.footer1', :readurl => @readurl %>
-<%= t'notifier.message_notification.footer2', :replyurl => @replyurl %>
+<%= word_wrap(t'notifier.message_notification.footer_html', :readurl => @readurl, :replyurl => @replyurl) %>