X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9f5787fd203fad5ffe1fb54525d65bf519457dc3..05b871db995bbefddf7aac3d366e68a4c2f3d557:/app/views/notifier/note_comment_notification.html.erb?ds=sidebyside diff --git a/app/views/notifier/note_comment_notification.html.erb b/app/views/notifier/note_comment_notification.html.erb index d82723bbb..909bffaa6 100644 --- a/app/views/notifier/note_comment_notification.html.erb +++ b/app/views/notifier/note_comment_notification.html.erb @@ -1,13 +1,15 @@
<%= t 'notifier.note_comment_notification.greeting' %>
<% if @owner %> -<%= t "notifier.note_comment_notification.#{@event}.your_note", :commenter => @commenter, :place => @place %>
+<%= raw t "notifier.note_comment_notification.#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %>
<% else %> -<%= t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => @commenter, :place => @place %>
+<%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %>
<% end %> -== -<%= @comment.to_html %> -== +<% unless @comment.empty? %> + <%= message_body do %> + <%= @comment.to_html %> + <% end %> +<% end %><%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %>