]> git.openstreetmap.org Git - rails.git/blob - app/views/notifier/changeset_comment_notification.html.erb
Remove unnecessary div
[rails.git] / app / views / notifier / changeset_comment_notification.html.erb
1 <p>
2   <%= t 'notifier.changeset_comment_notification.hi', :to_user => @to_user %>
3 </p>
4 <p>
5   <% if @owner %>
6     <%= raw t "notifier.changeset_comment_notification.commented.your_changeset", :commenter => link_to_user(@commenter), :time => @time %>
7   <% else %>
8     <%= raw t "notifier.changeset_comment_notification.commented.commented_changeset", :commenter => link_to_user(@commenter), :time => @time, :changeset_author => @changeset_author %>
9   <% end %>
10   <% if @changeset_comment %>
11     <%= raw t "notifier.changeset_comment_notification.commented.partial_changeset_with_comment", :changeset_comment => content_tag("em", @changeset_comment) %>
12   <% else %>
13     <%= t "notifier.changeset_comment_notification.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 'notifier.changeset_comment_notification.details', :url => link_to(@changeset_url, @changeset_url) %>
23 </p>
24
25 <% content_for :footer do %>
26   <p>
27     <%= raw t 'notifier.changeset_comment_notification.unsubscribe', :url => link_to(@changeset_url, @changeset_url, :style => "color: #222") %>
28   </p>
29 <% end %>