X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/efa2c20bff4d68cfdaf5fc532ba5eb0711e7cd2d..8fb3aa48e28cdc03cc4e053795f5b213f461e62c:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 0b91ca126..ab0344e35 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -12,15 +12,23 @@
- <%= 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 %> +
<% if @note_comments.find { |comment| comment.author.nil? } -%> -

<%= t "javascripts.notes.show.anonymous_warning" %>

+

<%= t "javascripts.notes.show.anonymous_warning" %>

<% end -%> <% if current_user && current_user != @note.author %> @@ -30,7 +38,7 @@ <% if @note_comments.length > 1 %>