X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0c8ad2f86edefed72052b402742cadedb0d674d9..fcba1a9857b7a225a5540b08432be876bde8501f:/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..ecaff81dc 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 %> -== +<%= message_body do %> + <%= @comment.to_html %> +<% end %>

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