X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5d5d0beefad0436781e0813f9f97d6b3fc313c28..1e0377e6b38aac74a7da221d22b3248ec69b50d7:/app/views/notes/show.html.erb diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 4f20cdd44..b65926b5f 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -22,7 +22,7 @@

- <% if @note_comments.find { |comment| comment.author.nil? } -%> + <% if @note_includes_anonymous -%>

<%= t ".anonymous_warning" %>

<% end -%> @@ -52,10 +52,10 @@ <% end %> - <% if @note_comments.length > 1 %> + <% if @note_comments.length > 0 %>