openstreetmap-website/app/views/user_mailer/changeset_comment_notification.html.erb
2025-01-22 19:50:41 +03:00

29 lines
883 B
Text

<p>
<%= t ".hi", :to_user => @to_user %>
</p>
<p>
<% if @owner %>
<%= t ".commented.your_changeset_html", :commenter => link_to_user(@commenter), :time => @time %>
<% else %>
<%= t ".commented.commented_changeset_html", :commenter => link_to_user(@commenter), :time => @time, :changeset_author => @changeset_author %>
<% end %>
<% if @changeset_comment %>
<%= t ".commented.partial_changeset_with_comment_html", :changeset_comment => tag.em(@changeset_comment) %>
<% else %>
<%= t ".commented.partial_changeset_without_comment" %>
<% end %>
</p>
<%= message_body do %>
<%= @comment.to_html %>
<% end %>
<p>
<%= t ".details_html", :url => link_to(@changeset_url, @changeset_url) %>
</p>
<% content_for :footer do %>
<p>
<%= t ".unsubscribe_html", :url => link_to(@changeset_subscription_url, @changeset_subscription_url) %>
</p>
<% end %>