X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e660e609661edadc1ed5ad49d6e83e936b2f91cd..3b237dc3dabda181ed68dc587b1befc678a03706:/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 fade148d8..835168583 100644 --- a/app/views/notifier/note_comment_notification.html.erb +++ b/app/views/notifier/note_comment_notification.html.erb @@ -1,15 +1,15 @@ -<%= t 'notifier.note_plain.greeting' %> +
<%= t '.greeting' %>
<% if @owner %> -<%= t 'notifier.note_plain.your_note', :commenter => @commenter, :place => @place %> +<%= raw t ".#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %>
<% else %> -<%= t 'notifier.note_plain.commented_note', :commenter => @commenter, :place => @place %> +<%= raw t ".#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %>
<% end %> -== -<%= @comment %> -== - -<%= t 'notifier.note_plain.details', :URL => @noteurl %> - +<% unless @comment.empty? %> + <%= message_body do %> + <%= @comment.to_html %> + <% end %> +<% end %> +<%= raw t '.details', :url => link_to(@noteurl, @noteurl) %>