X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2ef58f47a232c8a8156dd148616c198790e489d2..fa95768ae3a4d57c779da81be9b9a905a4fbc39b:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index a89ad07e5..083b1ab86 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) %>

<%= 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" %>