X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7599f98957334d1924550205f7ba12a726de7eb0..24b138db094e4b5e8d062c5248ee867967dc0fd7:/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..3a8286028 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' %>
+<%= t ".greeting" %>
<% if @owner %> -<%= t 'notifier.note_comment_notification.your_note', :commenter => @commenter, :place => @place %>
+<%= raw t ".#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %>
<% else %> -<%= t 'notifier.note_comment_notification.commented_note', :commenter => @commenter, :place => @place %>
+<%= raw t ".#{@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) %>
+<%= raw t ".details", :url => link_to(@noteurl, @noteurl) %>