X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/92ca4069957666065194e0b63de5b46261b8a21d..8ff838ae457598fb5828b65948e1b55d21759b06:/app/views/traces/show.html.erb
diff --git a/app/views/traces/show.html.erb b/app/views/traces/show.html.erb
index 19d1b06b8..6df31760a 100644
--- a/app/views/traces/show.html.erb
+++ b/app/views/traces/show.html.erb
@@ -22,10 +22,16 @@
<% if @trace.inserted? %>
<%= t ".start_coordinates" %> |
- <%= @trace.latitude %>; <%= @trace.longitude %> (<%= link_to t(".map"), :controller => "site", :action => "index", :mlat => @trace.latitude, :mlon => @trace.longitude, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%= link_to t(".edit"), :controller => "site", :action => "edit", :gpx => @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>) |
+
+
+ <%= t ".coordinates_html",
+ :latitude => tag.span(number_with_delimiter(@trace.latitude), :class => "latitude"),
+ :longitude => tag.span(number_with_delimiter(@trace.longitude), :class => "longitude") %>
+
+ (<%= link_to t(".map"), :controller => "site", :action => "index", :mlat => @trace.latitude, :mlon => @trace.longitude, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%= link_to t(".edit"), :controller => "site", :action => "edit", :gpx => @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>) |
<% end %>
@@ -55,10 +61,10 @@
<% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?) %>
-