X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a9b00e16e70707e398d475352d68ed9da86dec3b..c24c2e481cc6d27e76274ed4e32668a4690a7788:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 74d1223c7..1be7d9041 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -12,10 +12,16 @@
<%= note_event("opened", @note.created_at, @note.author) %>
- <% if @note.status == "closed" %> -<%= note_event(@note.status, @note.closed_at, @note.all_comments.last.author) %>
- <% end %> +
- <% @note_comments[1..-1].each do |comment| %> + <% @note_comments[1..].each do |comment| %>-
<%= note_event(comment.event, comment.created_at, comment.author) %>
<%= comment.body.to_html %>
@@ -41,7 +47,7 @@
<% if @note.status == "open" %>
<% if current_user -%>
-