X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/92ca4069957666065194e0b63de5b46261b8a21d..4ab70b63c391c11f4eb9e914507662629c257c7e:/app/views/traces/show.html.erb?ds=sidebyside
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}" %>) |