openstreetmap-website/app/views/user_mailer/changeset_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

20 lines
603 B
Text

<%= t '.hi', :to_user => @to_user %>
<% if @owner %>
<%= t ".commented.your_changeset", :commenter => @commenter, :time => @time %>
<% else %>
<%= t ".commented.commented_changeset", :commenter => @commenter, :time => @time, :changeset_author => @changeset_author %>
<% end %>
<% if @changeset_comment %>
<%= t ".commented.partial_changeset_with_comment", :changeset_comment => @changeset_comment %>
<% else %>
<%= t ".commented.partial_changeset_without_comment" %>
<% end %>
==
<%= @comment.to_text %>
==
<%= t '.details', :url => @changeset_url %>
<%= t '.unsubscribe', :url => @changeset_url %>