]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/diary_comment_notification.html.erb
Log details of any signup requests blocked by an ACL
[rails.git] / app / views / notifier / diary_comment_notification.html.erb
index a052ad79390f5ff396688b0e57e2d8c15088a256..b47900a631fc2ef28e90ffe2fe87564beead0c18 100644 (file)
@@ -1,25 +1,9 @@
-***************************************************************************
-*                                                                         *
-<%= t'notifier.diary_comment_notification.banner1' %>
-<%= t'notifier.diary_comment_notification.banner2' %>
-*                                                                         *
-***************************************************************************
+<p><%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %></p>
 
-
-<%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %> 
-
-<%= t'notifier.diary_comment_notification.header', :from_user => @from_user, :subject => @title %>
+<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>
 
 ==
-<%= @body %>
+<%= @text.to_html %>
 ==
 
-<%= t'notifier.diary_comment_notification.footer', :readurl => @readurl, :commenturl => @commenturl, :replyurl => @replyurl %>
-
-
-***************************************************************************
-*                                                                         *
-<%= t'notifier.diary_comment_notification.banner1' %>
-<%= t'notifier.diary_comment_notification.banner2' %>
-*                                                                         *
-***************************************************************************
+<p><%= raw t'notifier.diary_comment_notification.footer', :readurl => link_to(@readurl, @readurl), :commenturl => link_to(@commenturl, @commenturl), :replyurl => link_to(@replyurl, @replyurl) %></p>