X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2ef58f47a232c8a8156dd148616c198790e489d2..a01195f1497b4f4c6b7d019c7affc794d41101cd:/app/views/browse/note.html.erb?ds=sidebyside 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" %>