X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2ef58f47a232c8a8156dd148616c198790e489d2..d492628f3eb4f540438f9aab8b3c02e12b87d243:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index a89ad07e5..31fd00f01 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -15,6 +15,12 @@
+ <% if @note.comments.find { |comment| comment.author.nil? } -%> +
+

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

+
+ <% end -%> +

<%= t "browse.note.opened" %>

@@ -33,14 +39,14 @@
<% end %> -
+

<%= t "browse.note.description" %>

-

<%= h(@note.comments.first.body) %>

+

<%= h(@note.comments.first.body.to_html) %>

<%= t "browse.node_details.coordinates" %>

-

<%= link_to ("#{number_with_delimiter(@note.lat)}, #{number_with_delimiter(@note.lon)}".html_safe), {:controller => 'site', :action => 'index', :lat => h(@note.lat), :lon => h(@note.lon), :zoom => "18"} %>

+

<%= link_to ("#{number_with_delimiter(@note.lat)}, #{number_with_delimiter(@note.lon)}".html_safe), {:controller => 'site', :action => 'index', :lat => h(@note.lat), :lon => h(@note.lon), :zoom => "18"} %>

@@ -49,7 +55,7 @@

<%= t "browse.note.comments" %>