X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bc27347b8f8333b65962b8c00f76dc99a1095a8a..721e32b5cea97930cc96fba3b4bf295935943c0b:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 8e277d25f..12842f87c 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -1,20 +1,17 @@ -
<%= note_event(@note.closed_at, @note.comments.last.author) %>
-<%= note_event(@note.updated_at, @note.comments.last.author) %>
-
<%= t "browse.note.comments" %>
<% @note.comments[1..-1].each do |comment| %>-
+ <%= note_event(comment.event, comment.created_at, comment.author) %>
<%= comment.body.to_html %>
- <%= note_event(comment.created_at, comment.author) %>
<% end %>