X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4434bac3b484006d579b9229a5f69b182644eae7..9f8952b6ef681a544b9f817483ac21edda0961c7:/app/views/trace/view.rhtml diff --git a/app/views/trace/view.rhtml b/app/views/trace/view.rhtml index 3bc2abada..be3cbef00 100644 --- a/app/views/trace/view.rhtml +++ b/app/views/trace/view.rhtml @@ -5,8 +5,8 @@
filename: | <%= @trace.name %> |
uploaded at: | <%= @trace.timestamp %> |
points: | <%= @trace.size %> |
start coordinate: | <%= @trace.latitude %>, <%= @trace.longitude %> |
points: | <%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> |
start coordinate: | <%= @trace.latitude %>, <%= @trace.longitude %> |
owner: | <%= link_to @trace.user.display_name, {:controller => 'trace', :action => 'view', :display_name => @trace.user.display_name, :id => nil} %> |
description: | <%= @trace.description %> |
tags: |