Add an HTML version of the diary comment notification mail
This commit is contained in:
parent
8f4a9a4b87
commit
2a35f530bd
1 changed files with 9 additions and 0 deletions
9
app/views/notifier/diary_comment_notification.html.erb
Normal file
9
app/views/notifier/diary_comment_notification.html.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
<p><%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %></p>
|
||||
|
||||
<p><%= raw t'notifier.diary_comment_notification.header', :from_user => link_to(@from_user, :host => SERVER_URL, :controller => :user, :action => :view, :display_name => @from_user), :subject => @title %></p>
|
||||
|
||||
==
|
||||
<%= @text.to_html %>
|
||||
==
|
||||
|
||||
<p><%= raw t'notifier.diary_comment_notification.footer', :readurl => link_to(@readurl, @readurl), :commenturl => link_to(@commenturl, @commenturl), :replyurl => link_to(@replyurl, @replyurl) %></p>
|
Loading…
Add table
Add a link
Reference in a new issue