X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/898cc828dd1f1167f85abbf35c8e3f0ed640ac1e..a520f1251cf06be665d93037c74116a9f769fbf1:/app/views/notifier/note_comment_notification.text.erb diff --git a/app/views/notifier/note_comment_notification.text.erb b/app/views/notifier/note_comment_notification.text.erb index 81306f9cb..5924c8a9d 100644 --- a/app/views/notifier/note_comment_notification.text.erb +++ b/app/views/notifier/note_comment_notification.text.erb @@ -1,13 +1,15 @@ <%= t 'notifier.note_comment_notification.greeting' %> <% if @owner %> -<%= t 'notifier.note_comment_notification.your_note', :commenter => @commenter, :place => @place %> +<%= t "notifier.note_comment_notification.#{@event}.your_note", :commenter => @commenter, :place => @place %> <% else %> -<%= t 'notifier.note_comment_notification.commented_note', :commenter => @commenter, :place => @place %> +<%= t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => @commenter, :place => @place %> <% end %> +<% unless @comment.empty? %> == <%= @comment.to_text %> == +<% end %> <%= t 'notifier.note_comment_notification.details', :url => @noteurl %>