X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1977e66ace0751b8b4fdf3b55bde367ec33e7c57..bc3a5adc794765ce3646cc308834b9947c8b0aaf:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 0b91ca126..c72730a76 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -12,15 +12,20 @@
- <%= 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 %>