]> git.openstreetmap.org Git - rails.git/blob - app/views/notifier/changeset_comment_notification.html.erb
erblint: Add or remove curly braces around hash parameters as required
[rails.git] / app / views / notifier / changeset_comment_notification.html.erb
1 <p>
2   <%= t '.hi', :to_user => @to_user %>
3 </p>
4 <p>
5   <% if @owner %>
6     <%= raw t ".commented.your_changeset", :commenter => link_to_user(@commenter), :time => @time %>
7   <% else %>
8     <%= raw t ".commented.commented_changeset", :commenter => link_to_user(@commenter), :time => @time, :changeset_author => @changeset_author %>
9   <% end %>
10   <% if @changeset_comment %>
11     <%= raw t ".commented.partial_changeset_with_comment", :changeset_comment => content_tag("em", @changeset_comment) %>
12   <% else %>
13     <%= t ".commented.partial_changeset_without_comment" %>
14   <% end %>
15 </p>
16
17 <%= message_body do %>
18   <%= @comment.to_html %>
19 <% end %>
20
21 <p>
22   <%= raw t '.details', :url => link_to(@changeset_url, @changeset_url) %>
23 </p>
24
25 <% content_for :footer do %>
26   <p>
27     <%= raw t '.unsubscribe', :url => link_to(@changeset_url, @changeset_url, :style => "color: #222") %>
28   </p>
29 <% end %>