X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/92ce228cbe24ed030090823d2a4e92ee5089732c..433b7c5dfae0afa72058c2aaf236859998a2175a:/app/views/notifier/note_comment_notification.html.erb diff --git a/app/views/notifier/note_comment_notification.html.erb b/app/views/notifier/note_comment_notification.html.erb index b17fe67f8..749298531 100644 --- a/app/views/notifier/note_comment_notification.html.erb +++ b/app/views/notifier/note_comment_notification.html.erb @@ -1,13 +1,13 @@

<%= t 'notifier.note_comment_notification.greeting' %>

<% if @owner %> -

<%= t 'notifier.note_comment_notification.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.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 %> -== +<%= render "notifier/user_message_table", :captured => capture { %> + <%= @comment.to_html %> +<% } %>

<%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %>