X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/789c6343d947da2cd38b20a70c08d4c116cea082..972363baf6688f82ba3b7aa8d54a4747b5f290a2:/app/views/trace/edit.rhtml diff --git a/app/views/trace/edit.rhtml b/app/views/trace/edit.rhtml index d7c04182d..9d91dec2e 100644 --- a/app/views/trace/edit.rhtml +++ b/app/views/trace/edit.rhtml @@ -6,28 +6,28 @@
Filename: | +<%= t'trace.edit.filename' %> | <%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>) | |
Uploaded at: | +<%= t'trace.edit.uploaded_at' %> | <%= @trace.timestamp %> | |
Points: | +<%= t'trace.edit.points' %> | <%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> | |
Start coordinate: | -<%= @trace.latitude %>; <%= @trace.longitude %> (<%=link_to 'map', :controller => 'site', :action => 'index', :lat => @trace.latitude, :lon => @trace.longitude, :zoom => 14 %> / <%=link_to 'edit', :controller => 'site', :action => 'edit', :lat => @trace.latitude, :lon => @trace.longitude, :gpx=> @trace.id, :zoom => 14 %>) |
+ <%= t'trace.edit.start_coord' %>Start coordinate: | +<%= @trace.latitude %>; <%= @trace.longitude %> (<%=link_to 'map', :controller => 'site', :action => 'index', :lat => @trace.latitude, :lon => @trace.longitude, :zoom => 14 %> / <%=link_to t('trace.edit.edit'), :controller => 'site', :action => 'edit', :lat => @trace.latitude, :lon => @trace.longitude, :gpx=> @trace.id, :zoom => 14 %>) |
Owner: | +<%= t'trace.edit.owner' %> | <%= link_to h(@trace.user.display_name), {:controller => 'user', :action => 'view', :display_name => @trace.user.display_name} %> | |
Description: | +<%= t'trace.edit.description' %> | <%= f.text_field :description %> | |