X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eee84267f98eb72c00f493f4edbb2547c8319945..96f426a2eaa6009496b0f51934a497b3c970db97:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index eefd62b0a..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}")) %>
  • @@ -47,7 +50,7 @@ <% if @note.status == "open" %> <% if current_user -%> -
    +
    <% if current_user.moderator? -%> @@ -59,7 +62,7 @@ <% end -%> <% else %> -
    +
    <% if current_user and current_user.moderator? -%>