-<% if @type == "node" %>
-<div class="details geo">
- <%= t 'browse.location' %>
- <%= link_to(content_tag(:span, number_with_delimiter(common_details.lat), :class => "latitude") + ", " + content_tag(:span, number_with_delimiter(common_details.lon), :class => "longitude"), {:controller => 'site', :action => 'index', :lat => h(common_details.lat), :lon => h(common_details.lon), :zoom => "18"}) %>
-</div>
-<% end %>
+ <% if @type == "node" and common_details.visible? %>
+ <li>
+ <%= t "browse.location" %>
+ <%= link_to(t(".coordinates_html",
+ :latitude => tag.span(number_with_delimiter(common_details.lat), :class => "latitude"),
+ :longitude => tag.span(number_with_delimiter(common_details.lon), :class => "longitude")),
+ root_path(:anchor => "map=18/#{common_details.lat}/#{common_details.lon}")) %>
+ </li>
+ <% end %>
+</ul>