openstreetmap-website/app/views/user_mailer/note_comment_notification.text.erb
Andy Allan 2c1033f62d Rename Notifier to UserMailer
It's a convention in rails to name your mailers with a Mailer suffix, and is also common to name the class after the recipient (e.g. User, Admin). So UserMailer seems a reasonable choice.
2020-10-14 15:04:58 +02:00

15 lines
325 B
Text

<%= 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 %>