X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/055a9760511f270e17ab200b6caa0a6301866328..2d73dc22a2c167b9ac1140e68129af97560b6646:/app/views/traces/show.html.erb?ds=inline
diff --git a/app/views/traces/show.html.erb b/app/views/traces/show.html.erb
index 19d1b06b8..f7517c802 100644
--- a/app/views/traces/show.html.erb
+++ b/app/views/traces/show.html.erb
@@ -22,7 +22,7 @@
<% if @trace.inserted? %>
<%= t ".points" %> |
- <%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/, '\1,') %> |
+ <%= number_with_delimiter(@trace.size) %> |
<%= 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}" %>) |