]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/note_comment_notification.html.erb
Default to only showing open issues
[rails.git] / app / views / notifier / note_comment_notification.html.erb
index fade148d847f57e5fb0be006ff15fd3f5acfd06b..835168583df16fa66e42a78be6559c5355cedef2 100644 (file)
@@ -1,15 +1,15 @@
-<%= t 'notifier.note_plain.greeting' %>
+<p><%= t '.greeting' %></p>
 
 <% if @owner %>
-<%= t 'notifier.note_plain.your_note', :commenter => @commenter, :place => @place %>
+  <p><%= raw t ".#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %></p>
 <% else %>
-<%= t 'notifier.note_plain.commented_note', :commenter => @commenter, :place => @place %>
+  <p><%= raw t ".#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %></p>
 <% end %>
 
-==
-<%= @comment %>
-==
-
-<%= t 'notifier.note_plain.details', :URL => @noteurl %>
-
+<% unless @comment.empty? %>
+  <%= message_body do %>
+    <%= @comment.to_html %>
+  <% end %>
+<% end %>
 
+<p><%= raw t '.details', :url => link_to(@noteurl, @noteurl) %></p>