X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3e5ad4c5fed07eda993648f1998d9b0f5c78921..248f63f728295afcc6052f73f1a1617829a3ba90:/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 ecaff81dc..835168583 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 %> -<%= raw t "notifier.note_comment_notification.#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %>
+<%= raw t ".#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %>
<% else %> -<%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %>
+<%= raw t ".#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %>
<% end %> -<%= message_body do %> - <%= @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) %>