X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3b8b8933044104bb515d34c3d36851caba78ac7..60e1895da18f50de51d361d80ee515de2b53e2f7:/app/views/notifier/note_comment_notification.html.erb?ds=inline diff --git a/app/views/notifier/note_comment_notification.html.erb b/app/views/notifier/note_comment_notification.html.erb index fade148d8..ecaff81dc 100644 --- a/app/views/notifier/note_comment_notification.html.erb +++ b/app/views/notifier/note_comment_notification.html.erb @@ -1,15 +1,13 @@ -<%= t 'notifier.note_plain.greeting' %> +
<%= t 'notifier.note_comment_notification.greeting' %>
<% if @owner %> -<%= t 'notifier.note_plain.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_plain.commented_note', :commenter => @commenter, :place => @place %> +<%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %>
<% end %> -== -<%= @comment %> -== - -<%= t 'notifier.note_plain.details', :URL => @noteurl %> - +<%= message_body do %> + <%= @comment.to_html %> +<% end %> +<%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %>