X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c451aa915c7012faf85fb3e973da7b14c3329720..1b1b1b2f5729eb6e4ec990cae2d3ea834ea641d9:/app/views/trace/edit.rhtml diff --git a/app/views/trace/edit.rhtml b/app/views/trace/edit.rhtml index d7c04182d..397ee34a4 100644 --- a/app/views/trace/edit.rhtml +++ b/app/views/trace/edit.rhtml @@ -6,28 +6,28 @@ - + - + <% if @trace.inserted? %> - + - - + + <% end %> - + - +
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' %>Description: <%= f.text_field :description %>