]> git.openstreetmap.org Git - rails.git/blob - app/views/notifier/note_comment_notification.html.erb
Dressed up note comment messages
[rails.git] / app / views / notifier / note_comment_notification.html.erb
1 <% content_for :body do %>
2   <p style="margin: 0"><%= t 'notifier.note_comment_notification.greeting' %></p>
3
4   <% if @owner %>
5     <p><%= raw t "notifier.note_comment_notification.#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %></p>
6   <% else %>
7     <p><%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %></p>
8   <% end %>
9
10   <%= render "notifier/user_message_table", :captured => capture { %>
11     <%= @comment.to_html %>
12   <% } %>
13
14   <p><%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %></p>
15 <% end %>