X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/20ed4df47211d7a516c97c485e4c6854e734996a..9b19a45e74abd4414bb79d6b992f7bec14390ad6:/app/views/browse/note.html.erb
diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb
index c72730a76..ab0344e35 100644
--- a/app/views/browse/note.html.erb
+++ b/app/views/browse/note.html.erb
@@ -19,7 +19,10 @@
<% end %>
<%= t "browse.location" %>
- <%= link_to(tag.span(number_with_delimiter(@note.lat), :class => "latitude") + ", " + tag.span(number_with_delimiter(@note.lon), :class => "longitude"), root_path(:anchor => "map=18/#{@note.lat}/#{@note.lon}")) %>
+ <%= link_to(t(".coordinates_html",
+ :latitude => tag.span(number_with_delimiter(@note.lat), :class => "latitude"),
+ :longitude => tag.span(number_with_delimiter(@note.lon), :class => "longitude")),
+ root_path(:anchor => "map=18/#{@note.lat}/#{@note.lon}")) %>
@@ -35,7 +38,7 @@
<% if @note_comments.length > 1 %>
- <% @note_comments[1..-1].each do |comment| %> + <% @note_comments[1..].each do |comment| %>-
<%= note_event(comment.event, comment.created_at, comment.author) %>
<%= comment.body.to_html %>
@@ -47,7 +50,7 @@
<% if @note.status == "open" %>
<% if current_user -%>
-