Add an HTML version of the diary comment notification mail
authorTom Hughes <tom@compton.nu>
Mon, 5 Mar 2012 23:00:52 +0000 (23:00 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 17 Mar 2012 16:36:58 +0000 (16:36 +0000)
app/views/notifier/diary_comment_notification.html.erb [new file with mode: 0644]

diff --git a/app/views/notifier/diary_comment_notification.html.erb b/app/views/notifier/diary_comment_notification.html.erb
new file mode 100644 (file)
index 0000000..b47900a
--- /dev/null
@@ -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>