From 2a35f530bd5a474e83c8068ddc843eb0b4936b42 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 5 Mar 2012 23:00:52 +0000 Subject: [PATCH] Add an HTML version of the diary comment notification mail --- app/views/notifier/diary_comment_notification.html.erb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/views/notifier/diary_comment_notification.html.erb diff --git a/app/views/notifier/diary_comment_notification.html.erb b/app/views/notifier/diary_comment_notification.html.erb new file mode 100644 index 000000000..b47900a63 --- /dev/null +++ b/app/views/notifier/diary_comment_notification.html.erb @@ -0,0 +1,9 @@ +

<%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %>

+ +

<%= 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 %>

+ +== +<%= @text.to_html %> +== + +

<%= raw t'notifier.diary_comment_notification.footer', :readurl => link_to(@readurl, @readurl), :commenturl => link_to(@commenturl, @commenturl), :replyurl => link_to(@replyurl, @replyurl) %>

-- 2.39.5