X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a16c1138e9c061f83accca1b433aeebaf882758f..6f9dfc667bfd2d4ac0d14f061dc2e29b2bde7f19:/app/views/notes/show.html.erb diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 3d9b4a9ba..b65926b5f 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -5,7 +5,7 @@

<%= t(".description") %>

- <%= h(note_description(@note.author, @note.description).to_html) %> + <%= note_description(@note.author, @note.description).to_html %>
@@ -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 %>