X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9b19a45e74abd4414bb79d6b992f7bec14390ad6..2c1033f62d450b7ed82058ee89d99983b7d97829:/app/views/user_mailer/note_comment_notification.text.erb diff --git a/app/views/user_mailer/note_comment_notification.text.erb b/app/views/user_mailer/note_comment_notification.text.erb new file mode 100644 index 000000000..7014a5057 --- /dev/null +++ b/app/views/user_mailer/note_comment_notification.text.erb @@ -0,0 +1,15 @@ +<%= t '.greeting' %> + +<% if @owner %> +<%= t ".#{@event}.your_note", :commenter => @commenter, :place => @place %> +<% else %> +<%= t ".#{@event}.commented_note", :commenter => @commenter, :place => @place %> +<% end %> + +<% unless @comment.empty? %> +== +<%= @comment.to_text %> +== + +<% end %> +<%= t '.details', :url => @noteurl %>